in reply to @INC: search sequence of directories

Whatever you specify in the environment variable (PERL5LIB) is supposed to be prepended to the @INC in the same sequence as per your specification. It works fine on my platform (Perl 5.8.5 on FC Linux).

What version/platform do your run? Did you export the shell environment variable after an update?

  • Comment on Re: @INC: search sequence of directories

Replies are listed 'Best First'.
Re^2: @INC: search sequence of directories
by kdjantzen (Acolyte) on Apr 25, 2007 at 10:41 UTC
    I am running perl 5.8.6 under Suse Linux 9.3.

    The environment variable is set by a bash script based on an option.
    The bash script, in turn, calls the perl script.