It's because $foo::A_GLOBAL is equivalent to getting the scalar A_GLOBAL in the package foo (which of course does not exist).
update Now you're accessing an array A_GLOBAL in the package foo, not Foo. Perl is case sensitive, after all.
[ ar0n -- want job (boston) ]
In reply to (ar0n) Re: Accessing Other Globals?
by ar0n
in thread Accessing Other Globals?
by Foo::Bar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |