Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Data::Dumper Limitations

by fglock (Vicar)
on Oct 30, 2002 at 13:36 UTC ( [id://209060]=note: print w/replies, xml ) Need Help??


in reply to Data::Dumper Limitations

Data::Dumper tracks "seen" references, and this takes a lot of memory for big structures.

Maybe this helps:

$Data::Dumper::Maxdepth or $OBJ->Maxdepth([NEWVAL])

Can be set to a positive integer that specifies the depth beyond which which we don't venture into a structure. Has no effect when "Data::Dumper::Purity" is set. (Useful in debugger when we often don't want to see more than enough). Default is 0, which means there is no maximum depth.

Log In?
Username:
Password:

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

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

    No recent polls found