in reply to PERL5LIB with Apache

First you should realize that most good CGI program will run with taint checking enabled. If taint checking is enabled, PERL5LIB will be ignored (and rightly so).

As for setting PERL5LIB and restarting Apache, how did you set it, and how did you restart it? Did you export PERL5LIB from your shell, and did you start Apache from that shell? Perhaps Apache shrubs its environment, but I've never heard it did.

However, you are probably better off by using "use lib qw {...};" on top of your programs.

Abigail