Sarq_6669 has asked for the wisdom of the Perl Monks concerning the following question:
Hey,
Mod_Perl vs 1.29
Apache vs 1.33
Installed with EVERYTHING=1
Perl vs. 5.8.0
I have CGI::SSI installed vs 0.53 and it works fine in command line perl.
When I try to load it in Mod_Perl I get:
Cannot find current script '/dev/null' at /usr/lib/perl5/5.8.0/FindBin.pm line 180
I did a google search on-line for it and 1 person didn't
write how they solved it and the other person who
solved it said the module they had a problem with
(Apache::something) had an error where it forgot to
require some file it used.
Any help would be very appreciated.
FYI: I figured it out
FindBin.pm Line 153:
croak("Cannot find current script '$0'") unless(-f $script);
Apache loads $script as /dev/null which is a directory
so it fails the -f check. Commented it out.
If anyone knows how to contact the author of CGI::SSI so they can fix this, please let me know.