@INC changes on Perl upgrade
I did a dist upgrade yesterday and went from 5.8.7 to 5.8.8.
I had Class::DBI installed from the deb package. I then upgraded via
CPAN (yes, mixing package systems is a mistake).
So, I had CDBI in two places:
Now after upgrading Perl, @INC looks like this:
So that upgrade now favors /usr/share/perl5 over /usr/local/share/perl/5.8.7.
That is, before the upgrade I was using the local copy:
and now after the upgrade I'm now using the older version:
Shouldn't locally installed modules be loaded over the modules in