freebsd-ports/devel/p5-Data-Dump-Streamer/pkg-descr
Mathieu Arnold f575c6f17a Add p5-Data-Dump-Streamer 1.06, stream a highly accurate breadth first
data dump in perl code form to a var or file.
2004-03-23 15:06:01 +00:00

12 lines
716 B
Text

Converts a data structure into a sequence of perl statements sufficient for
recreating the original via eval. This module is very similar in concept to
Data::Dumper and Data::Dump, with the major differences being that this module
is designed to output to a stream instead of constructing its output in 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.
WWW: http://search.cpan.org/dist/Data-Dump-Streamer/