- To: slug@xxxxxxxxxxx
- Subject: [SLUG] How to add /usr/local/lib/perl/5.6.1/ to the perl @INC array in Debian
- From: Michael Lake <mikel@xxxxxxxxxxxxxxxxx>
- Date: Sun, 03 Jul 2005 13:46:07 +1000
- User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1
Hi all
I have a server with some CPAN modules in /usr/local/lib/perl/5.6.1/
perl is now 5.8 and is not finding the scripts in 5.6
An upgrade occurred weeks ago so I dont know why this has occurrred just today or maybe yesterday.
I probably need to add /usr/local/lib/perl/5.6.1/ to the @INC array
Does anyone know where this is set in Debian?
I know that you can add directories to the INC array via the -I command line invoking perl
but what scripts starts perl in Debian to add this so that all scripts starting with /usr/bin/perl
end up with the new @INC. I looked for env vars also but didnt find it it anywhere.
Mike
--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.