Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Data::Dumper Limitations

by fglock (Vicar)
on Oct 30, 2002 at 13:36 UTC ( #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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2021-10-16 14:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (69 votes). Check out past polls.

    Notices?