wollmers has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
One of my subs returns structures like this:
$VAR1 = [ [ [ 0, 0 ], [ 2, 2 ] ], [ [ 1, 0 ], $VAR1->[0][1] ] ];
The above is the output of Data::Dumper, which in case of larger structures is hard to compare for debugging. Is there something better or maybe an option to get a dump without reference notation like this:
$VAR1 = [ [ [ 0, 0 ], [ 2, 2 ] ], [ [ 1, 0 ], [ 2, 2 ] ] ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pretty Dump Cross References
by LanX (Saint) on Nov 28, 2014 at 23:54 UTC | |
by wollmers (Scribe) on Nov 29, 2014 at 00:06 UTC | |
by LanX (Saint) on Nov 29, 2014 at 00:21 UTC | |
|
Re: Pretty Dump Cross References
by Perlbotics (Archbishop) on Nov 28, 2014 at 23:56 UTC |