Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Data Dumping

by John M. Dlugosz (Monsignor)
on May 03, 2006 at 20:11 UTC ( [id://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

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

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-24 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found