Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Is there a way to reduce Data::Dumper's output size?

by ikegami (Patriarch)
on Feb 11, 2015 at 20:05 UTC ( [id://1116386]=note: print w/replies, xml ) Need Help??


in reply to Is there a way to reduce Data::Dumper's output size?

Looks like you want JSON. Or anything else. I wouldn't use DD for serializing.

But you could use

local $Data::Dumper::Indent = 0; local $Data::Dumper::Terse = 1;

Don't use Terse you can you don't have two references to the same variable.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-18 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found