in reply to Re^2: @INC: search sequence of directories
in thread @INC: search sequence of directories

yes, PERL5LIB is a special env variable for just that purpose :)

In case you'd rather make use of PERLLIBDIR, something like use lib split /:/, $ENV{PERLLIBDIR}; in your script should work as well.

(I suppose the '%' in %ENV{...} was just a typo...)

Replies are listed 'Best First'.
Re^4: @INC: search sequence of directories
by kdjantzen (Acolyte) on Apr 28, 2007 at 11:12 UTC
    Thank you.
    That clarified a couple of things.