You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jie Gao <J....@isu.usyd.edu.au> on 2003/08/01 01:46:51 UTC

Re: Trouble with Apache::Request

Hi All,

perl-5.8.0 + mp1.99_10.
-----------------------

I am having problem trying to get /perl-status work.

It bombs out in Status.pm at the following location:

--------------------------------------------------------------------------
if (eval {require Apache::Request}) {
    $newQ ||= sub { Apache::Request->new(@_) };
}
elsif (eval {require CGI}) {
    $newQ ||= sub { CGI->new; };
}
else {
    die "Need CGI.pm or Apache::Request to operate";
}
--------------------------------------------------------------------------

But shouldn't "Apache::Request" be "Apache::RequestRec"?

Sincerely,



Jie


Re: Trouble with Apache::Request

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 1 Aug 2003, Jie Gao wrote:

> Hi All,
>
> perl-5.8.0 + mp1.99_10.
> -----------------------
>
> I am having problem trying to get /perl-status work.
>
> It bombs out in Status.pm at the following location:
>
> --------------------------------------------------------------------------
> if (eval {require Apache::Request}) {
>     $newQ ||= sub { Apache::Request->new(@_) };
> }
> elsif (eval {require CGI}) {
>     $newQ ||= sub { CGI->new; };
> }
> else {
>     die "Need CGI.pm or Apache::Request to operate";
> }
> --------------------------------------------------------------------------
>
> But shouldn't "Apache::Request" be "Apache::RequestRec"?

Apache::Request is part of the libapreq package, a port of
which to Apache2 is still being developed.

best regards,
randy kobes