Portage recently updated Perl from 5.10.1 to 5.12.1 (and later -r1).
However, a crapload of files still remain in
/usr/lib/perl5/{site_perl,vendor_perl}/5.10.1. I found out the hard way
after trying to emerge openoffice (and everyone knows how painful that
one is):
checking for required Perl modules... Can't locate Archive/Zip.pm in
@INC (@INC contains:
/usr/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.12.1
/usr/lib64/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.12.1
/usr/lib64/perl5/5.12.1/x86_64-linux-thread-multi
/usr/lib64/perl5/5.12.1 /usr/lib64/perl5/site_perl
/usr/lib64/perl5/vendor_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
configure: error: Failed to find some modules
make: *** [stamp/build] Error 1
What is the user required to do after updating Perl? elogv doesn't tell
me anything about upgrading.