Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: CGI::Simple and mod_perl

by Anonymous Monk
on Nov 03, 2011 at 03:35 UTC ( #935573=note: print w/replies, xml ) Need Help??

in reply to CGI::Simple and mod_perl

i assume this issue has something to do with PerlSendHeader


sub header { ... if ( $self->{'.mod_perl'} and not $nph ) { my $r = $self->_mod_perl_request(); $r->send_cgi_header( $header ); return ''; } return $header; }

In short, mod_perl is not CGI

Replies are listed 'Best First'.
Re^2: CGI::Simple and mod_perl
by rhumbliner (Sexton) on Nov 03, 2011 at 23:38 UTC

    well i admit that response went right over my head, but i'm reading up on Apache2::Response to see if i can make any sense of it.

      Why? sub CGI::Simple::header doesn't return a header under mod_perl, because mod_perl is not, so printing the header to STDOUT, is the wrong thing to do
        i'm reading it ...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935573]
[Discipulus]: the new spam: gdpr consensus mail
[Corion]: Yeah, but the hope is that when I just delete it I won't receive any more mail from them
[Corion]: ... a faint hope, I know
[Discipulus]: ah ah you are still so optimist, Corion ? ;=)
[Discipulus]: here we are a bit late: i'll inject a ransomware to crypt everything and be compliant

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2018-05-25 07:32 GMT
Find Nodes?
    Voting Booth?