Sixtease has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Order of paths in @INC
by locked_user sundialsvc4 (Abbot) on Nov 13, 2007 at 13:19 UTC | |
|
Re: Order of paths in @INC
by shmem (Chancellor) on Nov 13, 2007 at 16:36 UTC | |
|
Re: Order of paths in @INC
by locked_user sundialsvc4 (Abbot) on Nov 15, 2007 at 16:59 UTC |