in reply to "use lib" whith architecture and version specific dirs
The last alternative I'd recommend is to set the PERL5LIB environment variable to include these alternative directories. Set this like you'd set the PATH under unix: a colon-separated list of directories. If you're running under a web server like Apache, you'll have to tell Apache to set these first, or be sure they're set when Apache starts (in its startup script).use lib '/prefix/site_perl', '/prefix/5.00503/', '/prefix/site_perl/5.005/, ...;
|
|---|