Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Pretty Printing with Data::Dumper

by Ovid (Cardinal)
on Sep 09, 2005 at 03:58 UTC ( #490423=note: print w/ replies, xml ) Need Help??

in reply to Pretty Printing with Data::Dumper

$Data::Dumper::Indent = 0;

You also might want to try my Data::Dumper::Simple. I would only advise it for debugging (not production), but it has the nice effect of printing the variable name(s).


New address of my CGI Course.

Comment on Re: Pretty Printing with Data::Dumper
Download Code
Replies are listed 'Best First'.
Re^2: Pretty Printing with Data::Dumper
by biosysadmin (Deacon) on Sep 09, 2005 at 07:43 UTC
    While I'm not its author, I also recommend Data::Dumper::Simple. It's a very nice tool that saves you the mental hassle of wondering what the heck $VAR1 really was. It's also a drop-in replacement for Data::Dumper, meaning that you can just change use Data::Dumper to use Data::Dumper::Simple.

    Thanks for the tool Ovid. :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://490423]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2015-11-30 22:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls