« October 2004 | Main | February 2005 »

November 14, 2004

Install Local Perl Modules

Its a good idea to install perl modules locally so they are not overwritten by operating system updates. Its also keeps you from messing up the default installation. If you have problems with perl you can nuke the local install modules to see if it fixes the problem. To perform a local install, the following might be helpful:

'perl Makefile.PL INSTALLDIRS=site INSTALLSITELIB=~/lib/perl PREFIX=~/lib/perl'

sometimes just 'perl Makefile.PL PREFIX=~/lib/perl' is enough

then make; make install

Posted by pwilk at 09:19 AM | Comments (0) | TrackBack