in reply to setting path to LIB folder
If you have many perl scripts, or don't what to have to do a "use lib" in all your scripts you can also set the environment variable PERL5LIB to the directory containing your modules.
eg.
_______________________________________________________
Remember that amateurs built Noah's Ark. Professionals built the Titanic.
Under unix (specificaly bash). If you put that in your .bash_profile then you dont have to worry about it againexport PERL5LIB=/path/to/lib/dir
_______________________________________________________
Remember that amateurs built Noah's Ark. Professionals built the Titanic.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re(2): setting path to LIB folder
by bart (Canon) on Apr 15, 2004 at 11:25 UTC | |
Re: Re: setting path to LIB folder
by Anonymous Monk on Apr 15, 2004 at 11:11 UTC |
In Section
Seekers of Perl Wisdom