|laziness, impatience, and hubris|
perl-script vs. cgi-script and malformed header from script. Bad header=</font> : bopper.mcgiby Plankton (Priest)
|on Dec 16, 2009 at 21:31 UTC||Need Help??|
Plankton has asked for the
wisdom of the Perl Monks concerning the following question:
Dear wise Monks
I have some very old mod_perl 1.0 code (perl 5.6.1) that runs under Apache 1.0 no problem. But when I run this code under mod_perl 2.0 I get this error:
I can get the code to run if I change my httpd.conf Files directive so that it is cgi-script but I would like to have the improved performance of running in mod_perl with perl-script.
Is there something I need to do with the $cgi->header() calls or something?