in reply to Pretty Dump Cross References
what is "better"?
There are plenty of options to format the output, you should read the documentation and play around.
> or maybe an option to get a dump without reference notation
This looks promising
$Data::Dumper::Deepcopy or $OBJ->Deepcopy([NEWVAL]) Can be set to a boolean value to enable deep copies of structures. Cro +ss-referencing will then only be done when absolutely essential (i.e. +, to break reference cycles). Default is 0.
You may also want to have a look at Data::Dump which comes with nicer defaults.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pretty Dump Cross References
by wollmers (Scribe) on Nov 29, 2014 at 00:06 UTC | |
by LanX (Saint) on Nov 29, 2014 at 00:21 UTC |