![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Importing variables (not functions) from in-file packagesby AnomalousMonk (Archbishop) |
on Feb 12, 2014 at 20:29 UTC ( #1074684=note: print w/replies, xml ) | Need Help?? |
Isn't $globalVar (when not defined as a lexical variable) just a shortcut for the (main) package variable $::globalVar aka $main::globalVar?
It is a 'shortcut' only if you make the lexical declaration
In Section
Seekers of Perl Wisdom
|
|