develooper Front page | perl.perl5.porters | Postings from June 2002

order of @INC

Thread Next
From:
Arthur Bergman
Date:
June 24, 2002 06:18
Subject:
order of @INC
Message ID:
50568970-8774-11D6-A4A7-003065D64CBE@contiller.se
Why is @INC ordered this way?
     /usr/local/lib/perl5/5.6.1/i686-linux-thread-multi
     /usr/local/lib/perl5/5.6.1
     /usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi
     /usr/local/lib/perl5/site_perl/5.6.1

With the core location before site_perl?

That makes it impossible to simply install a new version of a core 
module from CPAN since the core version will always be found first?

I run into this with Test::Simple before it got merged, so perl 5.8 
behaves in the same way.

Arthur


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About