Here my guess:
Strict doesn't complain about exported vars, they are "declared" implicitly.*
Your last line is not an export but only a simple aliasing, since $x and $a belong to the same package.
*) Most probably the same mechanism use vars is employing.
The fact that $a is a special variable makes it even more complicated...
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re: Logic for importing and strict vars?
by LanX
in thread Logic for importing and strict vars?
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |