in reply to Where to unpack CPAN modules

It doesn't matter where you unpack and build the module - you should run make install to install them properly. If you want to install the module into a specific directory do it like this:
perl Makefile.PL PREFIX=~/somewhere make make test make install
update: read ExtUtils::MakeMaker's section on "PREFIX and LIB attribute"

Replies are listed 'Best First'.
Re^2: Where to unpack CPAN modules
by rinceWind (Monsignor) on Dec 15, 2006 at 12:27 UTC

    I recommend using a combination of PREFIX= and LIB= as in:

    perl Makefile.PL PREFIX=~/perl LIB=~/perl/lib make make test make install

    If you have any modules that use Module::Build, the mantra is different: (presented here for completeness)

    perl Build.PL install_base=~/perl ./Build ./Build test ./Build install

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)