D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Perl @INC configuration



On Tue, Oct 01, 2002 at 06:53:15PM +0100, Theo Zourzouvillys wrote:

Don't be tempted to manipulate @INC itself.

use lib '/some/path';

in the script.

Aye. It takes a list too, see:

perldoc lib

You can do -I too, but that's annoying.

or /usr/lib/perl/5.6.1/Config.pm (in debian,. dunno other dists).

Barferoonie. I don't really think that's appropriate. Makes for rather
unportable code. I'm sure you agree.

Steve

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly