in reply to PERL5LIB not in @INC
In my (Ubuntu) installation, @INC holds an entry /usr/local/lib/site_perl which, as far as I am aware, is intended to hold such "common modules". In my system, this directory does not exist, and I don't know where it comes from.
For the special case of Apache: Usually Apache runs CGI processes in a rather bare environment. You can add your directory to the Apache configuration with the SetEnv directive.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PERL5LIB not in @INC
by Bod (Parson) on Mar 23, 2024 at 16:14 UTC |