You are correct. Camel III's glossary says:
In Perl, only certain special variables are truly global—most variables (and all subroutines) exist only in the current package. | [reply] [Watch: Dir/Any] |
FWIW, those truly global variables are really all in the main package. The language parser acts as if those global variable names were prefixed with main:: if no package is specified, no matter what package directive is in scope at the time.
-- Chip Salzenberg, Free-Floating Agent of Chaos | [reply] [Watch: Dir/Any] [d/l] [select] |
| [reply] [Watch: Dir/Any] |