diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-03-23 14:52:54 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-03-23 14:52:54 +0000 |
commit | fddc4df9b7762fdf8b1a4723976293ca3e970d15 (patch) | |
tree | 2f142e3dde33dde4621a356d5a734ac0a28eac04 /devel/p5-Data-Dumper | |
parent | f439e6d08f24534472bf637532d3fb48cf95c066 (diff) | |
download | ports-fddc4df9b7762fdf8b1a4723976293ca3e970d15.tar.gz ports-fddc4df9b7762fdf8b1a4723976293ca3e970d15.zip |
Notes
Diffstat (limited to 'devel/p5-Data-Dumper')
-rw-r--r-- | devel/p5-Data-Dumper/pkg-descr | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/devel/p5-Data-Dumper/pkg-descr b/devel/p5-Data-Dumper/pkg-descr index 515090969838..4a444b7e9e9e 100644 --- a/devel/p5-Data-Dumper/pkg-descr +++ b/devel/p5-Data-Dumper/pkg-descr @@ -1,12 +1,9 @@ -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. +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 in a single Perl statement. Handles self-referential structures +correctly. -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. +The return value can be evaled to get back an identical copy of the original +reference structure. -WWW: http://search.cpan.org/dist/Data-Dump-Streamer/ +WWW: http://search.cpan.org/dist/Data-Dumper/ |