Nope. my() doesn't care about packages.
use strict; my $x = 5; print "\$x in main package=$x\n"; package other; print "\$x in other package=$x\n";
Jenda
| XML sucks. Badly. SOAP on the other hand is the most powerfull vacuum pump ever invented. |
In reply to Re^2: non-global $/
by Jenda
in thread non-global $/
by monkey_boy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |