plz tell me
sub func { my ($code,@a) = @_; my $b = [@a]; eval $code; return $b; }
How is the compiler supposed to know that '@a' can be destroyed w/o knowing what happens in '$code' at runtime?
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re^4: Why doesn't perl optimize this?
by LanX
in thread Why doesn't perl optimize this?
by nbtrap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |