Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Serious Bug in latest Data::Dumper under 5.6.1

by simonflk (Pilgrim)
on Oct 24, 2003 at 17:19 UTC ( [id://301896]=note: print w/replies, xml ) Need Help??


in reply to Serious Bug in latest Data::Dumper under 5.6.1

I get the segfault with perl 5.6.1 on solaris. But strangely, if I change the line:

print "Dumper:\n",Dumper(\%rev,\%name),"\n";

to:

my $dumped = Dumper(\%rev,\%name); print "Dumper:\n",$dumped,"\n";

It works fine. I can't see why that should make any difference.

-- simonflk

Update:

simonf$ perl -MData::Dumper -le 'print Data::Dumper->VERSION' 2.12_01

Update: Tested on Win32, with ActiveState's D::D 2.121 PPM. Same behaviour - using Dumper() in scalar context avoids segfault.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://301896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-16 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found