We don't bite newbies here... much | |
PerlMonks |
Forcing modules to reload from a specific locationby ezekiel (Pilgrim) |
on May 26, 2003 at 05:27 UTC ( [id://260775]=perlquestion: print w/replies, xml ) | Need Help?? |
ezekiel has asked for the wisdom of the Perl Monks concerning the following question: I have a CGI script running under Apache mod_perl. It uses a particular module, that exists in two locations, say: The Apache configuration must preload the module from the WRONG location, as checking %INC at the very beginning of the script shows the module has indeed come from that location. I cannot change this configuration. How do I force the script to reload the module from the alternate location? I have tried several use lib statements but whenever I try to use the methods in the module, it is clear they are still coming from the WRONG version Thanks
Back to
Seekers of Perl Wisdom
|
|