Thank you both for your responses. I found an existing bug report for
this (http://rt.cpan.org/Public/Bug/Display.html?id=15482) and added my
comments there.
Regards,
Clayton Smith
Dondi M. Stroma wrote:
This sounds like a CGI.pm issue. PerlRun doesn't alter the behavior
of CGI::header. You should report this on the RT bug tracker for
CGI.pm.
- Perrin
That's exactly what it is. I ran into this problem about a year ago (I
was saving the header to a variable for printing later) and it took me
awhile to figure out why it stopped working when I started using it
under mod_perl as a Registry script. Here's part of the CGI.pm code
for header():
if ($MOD_PERL and not $nph) {
$self->r->send_cgi_header($header);
return '';
}