Fellow Monks,
when I update a module, sometimes problems arise. The old version persists or using the module leads to a compilation error. I have investigated this matter earlier, which lead me into writing a program for finding duplicate modules in site_perl and vendor_perl but it doesn't help always.
More importantly, I think that it is not the right way to go, to remove the modules from .../vendor_perl/... when a new version is in .../site_perl/.... I had the @INC array printed and for some reason, the vendor_perl branch comes before the site_perl branch. I believe that it is the wrong order since the CPAN module installs things into site_perl. I haven't found where this is set up. Yes, I know, I could set PERL5LIB to .../site_perl/... but I would much rather figure out why it is in this order and where it is set up.
In reply to Order of paths in @INC by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |