Just another Perl shrine | |
PerlMonks |
Re^2: Overriding the built-in require function (@INC)by lodin (Hermit) |
on Feb 06, 2008 at 22:53 UTC ( [id://666692]=note: print w/replies, xml ) | Need Help?? |
But this of course fails if someone happens to do as lib also unshifts @INC. This accident may not be obvious if it's a module that uses lib. For many purposes it works, but one should be aware of that it's not bullet proof against accidents. lodin
In Section
Seekers of Perl Wisdom
|
|