in reply to sort routines crossing package lines
You can see the same effect here:
Update: meant to say, the above is consistent whether either or both var names are a or b or not.$ perl -we'$Foo::a = 2; *a = \$Foo::a; for $a (4) { print $a, $Foo::a +}' 42 $ perl -we'$Foo::a = 2; *a = \*Foo::a; for $a (4) { print $a, $Foo::a +}' 44
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sort routines crossing package lines
by DrWhy (Chaplain) on Nov 26, 2004 at 15:01 UTC |