in reply to add perl path to INC in my shell script
perl -Idir ...
perl -Mlib=dir ...
PERL5LIB=dir"${PERL5LIB:+:$PERL5LIB}" perl ... PERL5LIB=dir"${PERL5LIB:+:$PERL5LIB}" script.pl ...
export PERL5LIB=dir"${PERL5LIB:+:$PERL5LIB}" perl ... script.pl ...
|
|---|