Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: module installation

by toma (Vicar)
on Jun 15, 2001 at 20:07 UTC ( [id://88824] : note . print w/replies, xml ) Need Help??


in reply to module installation

Be careful not to install perl in your cgi-bin directory since this causes security problems.

It is a good idea for you to learn to compile perl and install modules. Perl modules are easy to install, but there is one thing to be careful about, which is that the module installation step:

perl Makefile.PL

runs the correct version of perl, so either be careful to have your version of perl first in your $PATH environment variable, or specify a full path to your version of perl:

/home/username/perl5/bin/perl

Almost all CPAN modules do a good job of installing themselves in the right place if you do this. Very rarely (I have only seen it once) you might find an obscure bug where something assumes that perl is in /usr/bin/perl.

It should work perfectly the first time! - toma