in reply to Re: loading Perl modules onto virtual web host
in thread loading Perl modules onto virtual web host

Actually another trick to be aware of is the fact that some providers (like http://ipowerweb.com) permit you to upload a .htaccess file.

How would this be a help? Well..

You can set up a .htaccess file in the directory that your script is located, then set the PERL5LIB environment variable to point to the directory in which you stored your uploaded (FTP'd) CPAN modules. In particular, look into the SetEnv directive.

At a guess I would suggest a .htaccess file that looks like:

<Files ~ "\.pl$"> Options +ExecCGI SetHandler cgi-script SetEnv PERL5LIB /home/myusername/myperl/lib </Files>

Replies are listed 'Best First'.
Re^3: loading Perl modules onto virtual web host
by Anonymous Monk on Oct 11, 2006 at 10:31 UTC
    Than you very much moarch! I knew there have to be a way to fix this without having ssh access there. The only thing left now is to find out how to build Perl version :). /Alexander