Put this at the top of your script:

use lib '/tmp/perlNew/lib';

Or you can set the environment variable PERL5LIB to that path.

Rob

-----Original Message-----
From: Ajey Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 5:56 PM
To: [EMAIL PROTECTED]
Subject: Perl modules path related


hi,

I've a perl script which uses a perl module located in
/tools/tools/perl/lib. If i want to change this path to say
/tmp/perlNew/lib and make the script to fetch the new /tmp/perlNew/lib
path.

How can i do this??

TIA
-Ajey


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to