Re: Adding new path to @INC

2003-01-21 Thread Jon
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 { un

RE: Adding new path to @INC

2003-01-20 Thread simran
Or you can use * The PERL5LIB environment variable * the "use lib" pragma... * Compile perl with your library path in it On Tue, 2003-01-21 at 03:14, [EMAIL PROTECTED] wrote: > Sure. > #!/usr/local/bin/perl > > BEGIN { >unshift (@INC, "Your/path/needed"); > } > > print "@INC\n"; >

Re: Adding new path to @INC

2003-01-20 Thread Rob Dixon
Nils-Anders Persson wrote: > 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. Put your additional directory into the PERL5LIB environment variable. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

RE: Adding new path to @INC

2003-01-20 Thread [EMAIL PROTECTED]
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-gu