in reply to Re: Data::XDumper
in thread Data::XDumper
As for your example:
I suspect you haven't seen the Purity flag, which needs to be set in some more complex data, such as yours.$x = 4; $xx = sub{\@_}->(\$x, \$x); $y = \4; $yy = sub{\@_}->($y, $y); bless \$xx->[0], 'Foo'; bless \$xx->[1], 'Bar'; bless \$yy->[0], 'Foo'; bless \$yy->[1], 'Bar'; use Data::Dumper; print Dumper $xx, $yy;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Re: Data::XDumper
by demerphq (Chancellor) on Feb 16, 2003 at 17:08 UTC | |
|
Re: Data::XDumper
by xmath (Hermit) on Feb 16, 2003 at 16:49 UTC |