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.
In reply to Re: PERL5LIB not in @INC
by haj
in thread PERL5LIB not in @INC
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |