go ahead... be a heretic | |
PerlMonks |
Re^2: Automatically importing a subroutine for a particular namespaceby jacques (Priest) |
on Jul 04, 2008 at 19:24 UTC ( [id://695627]=note: print w/replies, xml ) | Need Help?? |
Note that this package does not have to be a base class of anything. You only have to use it wherever it's needed
That's what I am trying to get away from... How can I tell perl to use something under a particular package without declaring it under that package? (I want to be lazy ...) Basically, I want to tell perl: "Hey, see that package name? For any package name you find like that, go ahead and make use of this...".
In Section
Seekers of Perl Wisdom
|
|