develooper Front page | perl.perl5.porters | Postings from July 2008

my $foo = "bar" if $baz;

Thread Next
From:
Andy Armstrong
Date:
July 10, 2008 09:56
Subject:
my $foo = "bar" if $baz;
Message ID:
AFF76573-9BF0-49ED-8AB1-A903969791FB@hexten.net
There's a thread[1] on the mod_perl mailing list at the moment which  
suggests[2] that

my $foo = "bar" if $baz;

is causing memory corruption with mod_perl on 5.10.0. On 5.8.8 the  
same code worked fine.

It's understood that it's a bad idea but it doesn't seem great that it  
can screw things so badly. Is this a known problem with 5.10?

[1] http://markmail.org/message/pasxgcjfhco6mdan
[2] http://markmail.org/message/uwkehhz5w55ogsv7

-- 
Andy Armstrong, Hexten




Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About