One of my websites uses a bunch of perl modules installed with cpan to ~/perlmods
I have been useing a .htaccess file to set PERL5LIB:
SetEnv PERL5LIB /home/wildlifedb/perlmods/lib/perl/5.10.0/:/home/wildlifedb/perlmods/share/perl/5.10.0/
For some reason this stopped working yesterday, I have not made any changes to the code for months and yesterday it stopped working and started generating the following error:
[Thu May 10 18:33:08 2012] [error] [client 188.8.131.52] Can't locate Petal.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at index.pl line 4.
[Thu May 10 18:33:08 2012] [error] [client 184.108.40.206] BEGIN failed--compilation aborted at index.pl line 4.
[Thu May 10 18:33:08 2012] [error] [client 220.127.116.11] Premature end of script headers: index.pl
It looks like the .htaccess is no longer getting read.