Add the line to tool.cgi as well:
use lib '/usr/local/apache2/cgi-bin/pages/';
If you want to specify locations where to load modules, you need to specify them everywhere.
In reply to Re: not found modules path @INC
by Corion
in thread not found modules path @INC
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |