setenv PERL5LIB /home/skipper/perl-lib
In Bourne-style shells, it'd be something like:
PERL5LIB=/home/skipper/perl-lib; export PERL5LIB
The advantage of using PERL5LIB is that the
Skipper can set it once and forget it. The disadvantage comes when
someone else (like Gilligan) comes along to execute the program.
Unless Gilligan has also added the same PERL5LIB
environment variable, the program will fail! Thus, while
PERL5LIB is interesting for personal use, do not
rely on it for programs you intend to share with others. (And
don't make your entire team of programmers add a
common PERL5LIB variable. That's
just wrong.)