perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boysenberry Payne <boysenbe...@humaniteque.com>
Subject MP2 version of Apache->request
Date Wed, 21 Sep 2005 23:46:51 GMT
I used to have:

my $r = Apache->request();
$r->content_type("text/html");
$r->send_http_header;

It seems the MP2 syntax is now:

$r = Apache2::RequestRec->new($c);
$r->content_type("text/html");

How do I get $c?
How do I send the http header now?

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

Mime
View raw message