develooper Front page | perl.perl5.porters | Postings from March 2003

[perl #21513] Found a bug in Perl 5.8

From:
Andreas Hernitscheck
Date:
March 9, 2003 08:07
Subject:
[perl #21513] Found a bug in Perl 5.8
Message ID:
rt-21513-53444.1.54749854914328@bugs6.perl.org
# New Ticket Created by  "Andreas Hernitscheck" 
# Please include the string:  [perl #21513]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=21513 >


Hello, i hope im right here if i found a bug in perl.

using a portation for windows (activestate).

when doing something like:
my @data;
my %dmy;

$dmy{name}='peter';

foreach my $i (1..100){
 my %data=%dmy;
 push @data,\%data;
}

$x=\@data;

......its ok until here, but im accessing the @data through some references inside evals and with perl 5.8 (not 5.6) it takes a lot
of time to get the value back from this var. i cant copy the source of it, its too complex. it looks like a memory problem of perl
working with this references and maybe closures.





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