Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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?


Comment on Data Dumping
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 (Canon) 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2015-07-07 12:51 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (88 votes), past polls