Accurately serializes a Data Structure as Perl Code

Edit Package perl-Data-Dump-Streamer
http://search.cpan.org/dist/Data-Dump-Streamer/

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.

Refresh
Refresh
Source Files
Filename Size Changed
Data-Dump-Streamer-2.33.tar.gz 0000145421 142 KB
perl-Data-Dump-Streamer.changes 0000002693 2.63 KB
perl-Data-Dump-Streamer.spec 0000003243 3.17 KB
Revision 10 (latest revision is 29)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 10)
- updated to 2.33
  Caught up with various RT reports, and fixed a bunch of them.
  
  [RT#74198] fixed dumps containing read-only objects (obtained via JSON::XS)
  
  [RT#74198], Fixed stringification of code compiled under strict in later
  perls. Thanks to Father Chrysotomos for the patch and nudge.
  
  Also eliminated a false-fail prone test which was actually pretty useless,
  which should close several tickets which I wont bother to list.
  
  This release also is the first from the new git repository at
  https://github.com/demerphq/Data-Dump-Streamer
Comments 0
openSUSE Build Service is sponsored by