Greetings. Following reading Stas's last email to Scot, I poked around on the configuration directives page and saw that PerlSwitches -I/foo is a convenient replacement for 'use lib'.
I removed 'use lib' from a script and put the following in my virtual host section: PerlSwitches -I/var/www/hydrogen.denterprises.org/exec/perl This doesn't appear to end up in @INC because I get the following in my error log (which shows that /var/www/... is not in @INC): [Fri Oct 15 21:23:33 2004] [error] 20945: ModPerl::Registry: Can't locate Hydrogen/Const.pm in @INC (@INC contains: /usr/lib/perl5/Apache2 /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2/ /etc/apache2/lib/perl) at /var/www/suexec/hydrogen.denterprises.org/hydrogen.pl line 21.\nBEGIN failed--compilation aborted at /var/www/suexec/hydrogen.denterprises.org/hydrogen.pl line 21.\n Is PerlSwitches functionality still experimental? Colin -- Colin W. Wetherbee http://hydrogen.denterprises.org/ -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html