On Tue, Aug 27, 2002 at 06:58:46PM +0200, Guillaume Rousse wrote: > /usr/lib/perl5/vendor_perl . > [guillaume@silbermann guillaume]$ perl -e 'foreach $path (@INC) { print > "$path\n" } ' > /usr/lib/perl5/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0 > /usr/lib/perl5/site_perl/5.6.1 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.0 > /usr/lib/perl5/vendor_perl > .
BTW you are familiar with perl -V, saves you from having to write a program to see what's in @INC. :) > 1) what is this strange 5.6.1 remnant ? Kept for compatability so that upgraded systems don't have all their installed modules stop functioning. For example if someone installs a module by hand and not through an RPM so it doesn't get upgraded. > 2) why is '.' at the last place ? it should first in first place, to allow > easy override of system modules This is standard in Perl... If you want to override modules you probably ought to be "subclassing" them or modifying your @INC. > 3) what's the use of /usr/lib/perl5/site_perl, now that every mdk package > installs in /usr/lib/perl5/vendor_perl To separate user installed modules like those done with CPAN. This should keep modules being tracked by RPM from being overwritten by hand... > 4) should also /usr/local/lip/perl5 be included ? Unlikely... modules will install automatically in /usr/lib/perl5... -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org If your love has no hope of being welcomed do not voice it; for if it be silent it can endure, a guarded flame, within you. - The Wisdom of the Sands