I'm confused about installing where Perl modules get placed.

The standard answer "how do I install a perl module without root" is

perl Makefile.PL PREFIX=/some/path/to/my/modules

and then either a
'use lib /some/path/to/my/modules'

or 

setenv PERL5LIB /some/path/to/my/modules

However, whenever I try that, I always need to set

setenv PERL5LIB /some/path/to/my/modules/lib/site_perl

UNLESS I build my perl modules with

perl Makefile.PL PREFIX=/some/path/to/my/modules LIB=/some/path/to/my/modules

in which case I can set PERL5LIB to be /some/path/to/my/modules

My question is why do I have to add the LIB entry when building a perl
module to get it to show up where I want it to? 

Thanks,

-Erik

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to