Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by simonflk (Pilgrim)
on Oct 24, 2003 at 17:19 UTC ( #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? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (1)
As of 2022-01-26 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (69 votes). Check out past polls.

    Notices?