in reply to Using/Installing modules on a remote webserver

I agree with Perrin in that you should just ask your provider to provide it.

However, another problem then arrises. How can you do this:

BEGIN{ push (@INC, "/home/httpd/vhosts/newrisedesigns.com/cgi-bin", "/home/httpd/vhosts/newrisedesigns.com/cgi-bin/XML", /home/httpd/vhosts/newrisedesigns.com/cgi-bin/XML/Parser"); }
in a more elegant way? Well, fortunately there's this option:
use lib '/home/httpd/vhosts/newrisedesigns.com/cgi-bin/XML';
Insert as many use lib '/path/to/lib/';s as you need to get your program running. Just remember that you need to use the modules in those libraries AFTER you've used those libraries. eg:
use lib '/home/Perllibs/'; use XML::Parser;
Oh, and Perl will helpfully use the modules in your lib directories in preference to those in the system directories. This means that if your provider is providing an ancient version of something you need, eg CGI, you can get around that by using your own more up-to-date version. Just be wary of accidently calling your modules the same names as built in Perl modules, but this is always a problem. ;)

Good luck.

jarich