http://www.perlmonks.org?node_id=688534


in reply to best way to install modules in your home directory?

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 :-))