Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

demerphq (2831)

  (email not shown publicly)
http://www.perlm ... l?node_id=108447

Perlmonk. Perl5 Regex Hacker. Telecoms Billing Specialist. Canadian living in Germany.

Journal of demerphq (2831)

Wednesday April 10, 2002
08:57 AM

Dumper difficulties...

[ #4084 ]
I'm currently working a new dumper module in my spare time. In the process I've found a few minor bugs in both Data::Dump and Data::Dumper.

For instance Data::Dump will go into fits (infinte loop) when trying to dump the following

my ($x,$y);
print dump([$x,$y]);

And a bug in dumper can be seen from

use Data::Dumper;
my ($x,$y,$z);
print Dumper($x);
$VAR1 = \\'Foo';

Problem is that this is wrong (doesnt look it though does it?)

# this is fine...
# this is an illegal attempt to alter a read only variable.

Im looking forward to releasing my new dumper in the next few days. It wont have either of these problems and represents a new approach to dumper modules... Look for it on CPAN under the name Data::BFDumper in the next few days....

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.