Keep It Simple, Stupid | |
PerlMonks |
Re^2: How can I prevent a module from being added to the %INC hash?by jacques (Priest) |
on Oct 04, 2006 at 03:29 UTC ( [id://576238]=note: print w/replies, xml ) | Need Help?? |
One problem: What if you are putting the code above into a module and then use that module in a program? The %INC hash will contain all the modules that the program uses as well. And those modules will not be in the %INC hash when you assign it to %inc_copy.
In Section
Seekers of Perl Wisdom
|
|