[ back to toc ]

perl module name conflict

Date: 2002/01/10 09:23

For a website on a shared server, I installed a perl module (Verisign
SDK) locally. It turns out that the server already has a different version
of the module installed in the @INC path. In my scripts, I want to call
the local module and not the system module. If I use the lib command to
include the local module, I will have 2 modules by the same name in the
include path. How can I make sure my script uses the local module?

This is on a Free BSD server running Perl 5.06.
Alter the content of the array @INC to have your directory sooner than the

unshift @INC,'.';

may work. Let you give it a try.


[ back to toc ]