in reply to Re^3: Export global variables not working correctly
in thread Export global variables not working correctly

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.

  • Comment on Re^4: Export global variables not working correctly