Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

Nope.

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


Comment on Re: CGI::Simple and mod_perl
Download Code
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 http://tools.ietf.org/html/rfc3875(CGI), so printing the header to STDOUT, is the wrong thing to do
        i'm reading it ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935573]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2015-07-06 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls