![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Variable to point to library?by perldeveloper (Scribe) |
on Jul 10, 2004 at 21:36 UTC ( #373402=note: print w/replies, xml ) | Need Help?? |
If I were you, I'd create an environment variable which holds the location of all my perl scripts (say WWW_PERLLIB). This does usually imply editing a file, at least under Linux (/home/username/.bash_profile). Then use Perl's mechanism to extract the environment variable's value ($ENV{$variable}) like this:
In Section
Seekers of Perl Wisdom
|
|