in reply to Re^2: Installing Perl modules locally
in thread Installing Perl modules locally
If you then want to use the libraries need to make sure the perl interpreter knows where to find them: you can set the PERL5LIB environment variable to "/tmp/myperl5/lib/perl5/site_perl/5.8.6" or put use lib '/tmp/myperl5/lib/perl5/site_perl/5.8.6'; in your code.
And yes, you can basically use any directory you like, though dirs with spaces in their name tend to cause confusion.
If you want to have more control over which parts of the installation go where, take a look at the ExtUtils::MakeMaker documentation.
|
|---|