or

#! /usr/bin/perl -w

use lib qw(/path/to/your/stuff)

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 4:14 PM
Subject: RE: Adding new path to @INC


Sure.
#!/usr/local/bin/perl

BEGIN {
   unshift (@INC, "Your/path/needed");
}

print "@INC\n";

good luck

YG

Original Message:
-----------------
From: Nils-Anders Persson [EMAIL PROTECTED]
Date: Mon, 20 Jan 2003 16:05:52 +0100
To: [EMAIL PROTECTED]
Subject: Adding new path to @INC


Hello PERL-gurus,

I wonder if there is a way to add a new path to the @INC-array permanently
under UNIX and, if so, how to do it.

Regards,
Nils-Anders



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to