Mar 19, 2008, 4:35 PM
Post #1 of 1
Okay, I'm confused.
export/ use question
I have a module, TestAPI that is used by another module... TestAPI uses API... but can't seem to see the API symbols in the local name-space.
Perl assumes I'm looking for:
and it doesn't find it... I wanted
&Bastille::API::getGlobal ... but don't want to fully specify every time, even though when I do fully specify, it works.
Here's the full file
I've already checked, and API exports the subroutine, and as you can see, I "used" it at the top of the TestAPI file.
FWIW... the full call tree is Interactive Bastille requires API, which uses TestAPI, which in turn uses API... I know there's a cycle there.... but I thought Perl was supposed handle those... and only load if the name-space hadn't already been loaded.
Any thoughts / help would be appreciated.