[Israel.pm] Dumping in Perl

Adriano Ferreira a.r.ferreira at gmail.com
Wed Feb 21 02:01:10 PST 2007

On 2/21/07, Yossi Itzkovich <Yossi.Itzkovich at ecitele.com> wrote:
> Hi,
> I know at least 2 ways to dump data structures in Perl, and then
> "undump" it (A.K.A serialization/Marshaling):
> Data::Dumper
> dumpValue  (dump only)
> Are there additional good alternatives?

I find Data::Dump pretty interesting as well. It is on CPAN:

> What are the pros/cons for each one?

pros: the dumped code is an expression and not a series of statements
cons: I heard that it is not able to handle some data structures, but
I haven't found these cases in my limited experience with ordinary

More information about the Perl mailing list