in reply to Re: limiting scope of 'eval'??
in thread limiting scope of 'eval'??
Maybe because since at least 5.6.1, there isn't any real conflict.
#! perl -slw use strict; my( $a, $b ) = ( 'mya', 'myb' ); { our( $a, $b ) = ( 'oura', 'ourb' ); my @sorted = sort { $a <=> $b } map{ rand 100 } 0 .. 99; print "$a : $b"; } print "$a : $b"; __END__ P:\test>test oura : ourb mya : myb
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: limiting scope of 'eval'??
by bmann (Priest) on Aug 23, 2004 at 16:39 UTC |