[Bug 1138817] Perl core modules are installed into vendor_perl, so they are not updated by cpan

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 8 13:36:16 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1138817



--- Comment #2 from Dan Book <grinnz at gmail.com> ---
When testing this it was not using local::lib or any such local install. There
was no ~/perl5. CPAN and cpanm both install the updated Test::Simple into
/usr/share/perl5 by default. Non-core modules are installed into the site perl
directory which is /usr/local/share/perl5:

$ perl -V:installsitelib
installsitelib='/usr/local/share/perl5';

But there is no trace of the Test::Simple distribution there after having both
cpan and cpanm "successfully" install the updated distribution.
/usr/share/perl5/Test/Simple.pm however is the updated version. The problem is
that while /usr/local/share/perl5 comes before /usr/share/perl5/vendor_perl
(where the RPM installs to), /usr/share/perl5 comes after in @INC.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=TtI1Z91eyH&a=cc_unsubscribe



More information about the perl-devel mailing list