Dan Sugalski wrote: > No it isn't. It can get the integer length of the array and stuff it in a > register at the beginning of the loop, or do an integer compare when it > needs to, depending on the semantics of the loop.
Wow. Did you just come up with a place in Perl where static behavior is guaranteed? my @array = ( 1 ); foreach my $e (@array) { push @array, $e + 1; } No, I guess not. ;) Maybe the hyper-operators will give us more optimization room. - Ken