I don't recall that thread, but basically you can do a few things. When you install, specify some local directory to install into:
perl Makefile.PL PREFIX=/some/local/path LIB=/some/local/path "/some/local/path" is the root of your local library. For some modules that don't require pre-processing (compiling C code, etc) you can just copy the module to the correct location. For example My::Module would live at /some/local/path/My/Module.pm. To use it from there you can... 1. use lib use lib '/some/local/path'; use My::Module; 2. set the PERL5LIB environment variable In your shell config file (.bashrc, etc): export PERL5LIB=/some/local/path ...Then use the module normally in command line scripts. If you need this for a CGI, set this variable in the .htaccess or main Apache config: setenv PERL5LIB /some/local/path ...Then use the module normally in CGI scripts. 3. add it to the @INC (I perfer option #1 to this though, also I am unsure if this syntax is correct): BEGIN { unshift @INC, '/some/local/path'; } Rob -----Original Message----- From: Mike Blezien [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 5:52 PM To: Perl List Subject: Install modules locally Hello, I seemed to recall an earlier posting regarding instruction on how to install Perl modules locally when one doesn't have root access, but was able to find the thread. Can someone possible post that info again. Much appreciated :) -- Mike<mickalo>Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://thunder-rain.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>