Package Info

perl-Data-Dump-Streamer


Accurately serialize a data structure as Perl code


Development/Libraries/Perl

Given a list of scalars or reference variables, writes out their contents in perl syntax. The references can also be objects. The contents of each variable is output using the least number of Perl statements as convenient, usually only one. Self-referential structures, closures, and objects are output correctly.

The return value can be evaled to get back an identical copy of the original reference structure. In some cases this may require the use of utility subs that Data::Dump::Streamer will optionally export.

This module is very similar in concept to the core module Data::Dumper, with the major differences being that this module is designed to output to a stream instead of constructing its output in memory (trading speed for memory), and that the traversal over the data structure is effectively breadth first versus the depth first traversal done by the others.

In fact the data structure is scanned twice, first in breadth first mode to perform structural analysis, and then in depth first mode to actually produce the output, but obeying the depth relationships of the first pass.


License: Artistic-1.0 or GPL-1.0+
URL: http://search.cpan.org/dist/Data-Dump-Streamer/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
2.40-bp155.2.12 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Dump-Streamer
2.40-bp154.1.27 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Dump-Streamer
2.40-bp153.1.14 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Dump-Streamer
2.40-bp152.3.14 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Dump-Streamer
2.40-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • x86-64
  • perl-Data-Dump-Streamer
2.40-bp151.2.13 info GA Release 2019-05-18 15 SP1
  • s390x
  • perl-Data-Dump-Streamer
2.40-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Dump-Streamer