Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Data Dumping

by John M. Dlugosz (Monsignor)
on May 03, 2006 at 20:11 UTC ( #547256=perlquestion: print w/replies, xml ) Need Help??
John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:

I see that ActiveState's build includes three different modules for dumping data: Data::Dumper, Data::Dump, and Dumpvalue.

I've always seen Data::Dumper refered to here and in other articles. So what are the relative merits of the others, that are common enough to install by default?


Replies are listed 'Best First'.
Re: Data Dumping
by socketdave (Curate) on May 03, 2006 at 20:21 UTC
    Data::Dump says this: "The Data::Dump module provides a much simpler interface than Data::Dumper."

    Dumpvalue is included with Perl by default, but I've never used it. Data::Dumper seems to be the default, at least around here. I've not found a need for anything else.
Re: Data Dumping
by kwaping (Priest) on May 03, 2006 at 21:30 UTC
    There's also Data::Dumper::Simple, which is pretty nifty. It tends to add a lot of wall-clock seconds to your program's execution though, so I recommend using it for debugging then removing it for production.

    It's all fine and dandy until someone has to look at the code.
Re: Data Dumping
by planetscape (Chancellor) on May 04, 2006 at 11:28 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://547256]
Approved by NetWallah
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2018-04-26 16:26 GMT
Find Nodes?
    Voting Booth?