Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
go ahead... be a heretic
 
PerlMonks  

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?

—John

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://547256]
Approved by NetWallah
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-04-17 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls