P is for Practical | |
PerlMonks |
Re: best way to install modules in your home directory?by Bloodnok (Vicar) |
on May 26, 2008 at 15:34 UTC ( [id://688534]=note: print w/replies, xml ) | Need Help?? |
Hi ,
If ever I need to install any modules created using h2xs e.g. CPAN modules, in other than the default location, the first step i.e. when generating the makefile, is to use the PREFIX macro. In your case ... perl Makefile.PL PREFIX=$HOME Note that, if it didn't already exist, running make install will create $HOME/lib HTH
At last, a user level that best describes my experience :-))
In Section
Seekers of Perl Wisdom
|
|