Do you know where your variables are? | |
PerlMonks |
Re: a few questions about __PACKAGE__by JavaFan (Canon) |
on Feb 12, 2012 at 10:54 UTC ( [id://953308]=note: print w/replies, xml ) | Need Help?? |
I'm assuming that __PACKAGE__ is not defined until a script loads the module,That's not your problem. The problem is that $INC{"Module.pm"} only gets set after successful complication, and you haven't finished compiling yet.
In Section
Seekers of Perl Wisdom
|
|