I know but that is differnt instance
What I'm trying to do is to invoke method $AAA::bbb->hello()
, but without prefix AAA:: .
in package main I can invoke $AAA::bbb->hello() without prefix, but I can't in another package like BBB because of error saying " Global symball $bbb requires explicit package name".
The error is still same if I make another package CCC and invoke $AAA::bbb->hello() without prefix in package CCC.
In reply to Re^4: Export global variables not working correctly
by Anonymous Monk
in thread Export global variables not working correctly
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |