Forcing Specific Version of a module to be used from different location.
Posted on 2003-11-04
Question Title: Forcing module version to be used
Date: 11/04/2003 12:49PM EST
The OS has a module with an older version.
Entity.pm which is version 3.09 (HTML::Entity)
I downloaded Entity.pm version 3.16
The application I develop needs a version above 3.15, so the one I've got is OK
It is a web server where I do not have admin rights to put the updated Entity.pm into the Perl path and substitute the old one.
All the modules I need I usually install under the cgi-bin/ web folder and it works just fine, recognizing modules that are not present on the web server.
I need a way to tell my application to use Entity.pm not from the Perl default location, but from the cgi-bin/HTML/Entity.pm location.
So that the command:
would get the file from cgi-bin/HTML/Entity and not from c:\Perl\lib\..... etc