in reply to @INC array and two perl versions
Why are /opt/zmanda/amanda/perl/lib/5.8.8 and /opt/zmanda/amanda/perl/lib/site_perl/5.8.8 even in @INC? You must have added them (manually) in some way. Note that they appear twice in the @INC for perl 5.8.8.
I am guessing somebody added them to the environment variable PERL5LIB, or something equivalent (for example: direct use of use lib). Don't do that: when lib adds a directory to @INC, it'll also add version dependent subdirectories. That goes for the contents of PERL5LIB, too.
That's most likely why they appear twice for 5.8.8.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: @INC array and two perl versions
by nikunjv (Initiate) on Feb 04, 2010 at 13:52 UTC |