I may be missing the point you're making but HJO's statement referred to global variables. Other examples with variables explicitly declared as global:
$ perl -le 'local $foo = "whatever"; print $main::foo;' whatever
$ perl -le 'our $foo = "whatever"; print $main::foo;' whatever
-- Ken
In reply to Re^3: Can I from within a module access variables from the calling program?
by kcott
in thread Can I from within a module access variables from the calling program?
by HJO
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |