SPUG:path problems

Terry Nightingale tnight at pobox.com
Thu May 22 14:33:10 CDT 2003


Isn't that the same as putting

     use lib '/usr/local/lib/perl5';

at the top of the script?


Brian Hatch wrote:

> 
>>	/usr/local/bin/perl -I/usr/local/lib/perl5 <myprog>
> 
> 
> You can probably avoid the command line '-I' by putting
> 
> 	BEGIN { push @INC, "/usr/local/lib/perl5"; }
> 
> at the top of the script.
> 
> 
> 
> --
> Brian Hatch                  "Zathras does not remember.
>    Systems and                But if Zathras remember
>    Security Engineer          later, Zathras tells you."
> http://www.ifokr.org/bri/
> 
> Every message PGP signed

-- 
Terry Nightingale <tnight at pobox.com>
Web Developer, Philosopher, Geek
"In theory, there is no difference between theory and practice. But, in
practice, there is." -- Jan L.A. van de Snepscheut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3411 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.pm.org/pipermail/spug-list/attachments/20030522/84222bfc/smime.bin


More information about the spug-list mailing list