[Israel.pm] PERL5LIB and CPAN installations

Yossi Itzkovich Yossi.Itzkovich at ecitele.com
Mon Aug 6 22:16:36 PDT 2007

Thanks, I'll try it 

-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On
Behalf Of Gabor Szabo
Sent: Tuesday, August 07, 2007 8:04 AM
To: Perl in Israel
Subject: Re: [Israel.pm] PERL5LIB and CPAN installations

Whe building the module it is better to use

perl Makefile.PL PREFIX=~/perl  LIB=~/perl/lib

and then you can use PERL5LIB=~/perl/lib

Otherwise some modules will be installed in other directories
as you also noticed.


On 8/7/07, Yossi Itzkovich <Yossi.Itzkovich at ecitele.com> wrote:
> Hi,
> I work on Solaris, and untill I used the Solaris 10 built in perl
> I had no problems installing and using CPAN modules, and always my
> PERL5LIB pointed to ~/perl  (or was it ~/perl/lib ? I don't remember).
> In the CPAN config file I also used PREFIX as ~/perl.
> Now, and I am not sure if it's the newer CPAN module, or the built in
> perl 5.8.4, I have to define PERL5LIB  as something similar to :
> site_perl
> In order to use new modules I install.  Why ?
Perl mailing list
Perl at perl.org.il

More information about the Perl mailing list