We don't bite newbies here... much | |
PerlMonks |
Using Modules in a local directoryby Speedfreak (Sexton) |
on Jul 10, 2001 at 16:24 UTC ( [id://95282]=perlquestion: print w/replies, xml ) | Need Help?? |
Speedfreak has asked for the wisdom of the Perl Monks concerning the following question: Hej all I've had several discussion to this affect for a while and decided to post it here as I think maybe many people want to know how to do this. At the moment I'm lucky enough to have my own Linux box on a 2Mb line so I can install what I want when I want on the server. However, a friend of mine is not so lucky - he rents webspace from a company and has little control outside of his home dir. He's often wanted to use some of my scripts on his site but as I often use modules from CPAN that arent on his server, we were wondering how to go about using them from within his space when he cant install them into the standard Perl lib tree. The questions we have are: 1) How can we tell Perl to look for a .pm perl module in a local folder rather than trying to look for it in perl/lib? 2) Say we download a module from CPAN, is it possible to tell "perl Makefile.pl" to install the module locally rather than try and put it in the main lib structure? -Jed
Back to
Seekers of Perl Wisdom
|
|