[Israel.pm] Problem with cpan for regular user
Gabor Szabo
szabgab at gmail.com
Thu May 22 21:44:59 EEST 2008
On Thu, May 22, 2008 at 6:35 PM, Omer Zak <w1 at zak.co.il> wrote:
> On Thu, 2008-05-22 at 18:25 +0300, Gabor Szabo wrote:
>> Oh and one more probably thing.
>> Don't forget to set
>>
>> PERL5LIB = ~/perl5lib/lib
>>
>> in your shell *before* you run the CPAN shell or it will install
>> prereqs but then it won't see them...
>
> Will cpan and perl continue to see modules installed globally
> (in /usr/lib/perl5, /usr/local/lib, etc.) after I set PERL5LIB as above?
yes,
see perl -V for the content of @INC which is the list of places
where perl looks for modules.
See alsi the order of the places. Thos in PERL5LIB precede the
standard places meaning that if the same module is installed in
both places perl and the cpan shell (which is just a perl script)
will pick the one installed in PERL5LIB.
Gabor
More information about the Perl
mailing list