> -----Original Message-----
> From: Herrington, Jack [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 25, 2000 10:36 PM
> To: [EMAIL PROTECTED]
> Subject: Apache::Request->new() problem
>
>
> I have the same problem as one of the previous reporters with
> Apache::Request->new(). The problem occurs whether I call it
> after a 'use'
> or after a 'PerlModule' load. Perl returns the no 'new'
> method could be
> found for Apache::Request.
>
> My setup is:
>
> Apache 1.3.12
> mod_perl 1.24
> Perl 6.5
> Redhat 6.2
> libapreq 0.31
>
> Both Apache::Request and Apache::Cookie exhibit the same symptoms, and
> simply running this Perl script:
>
> use Apache::Request;
> my $apr = Apache::Request->new( $r );
>
> Gives exactly the same response (as opposed to complaining about the
> unititliazed $r).
>
> Is there anywhere I can locate the original Apache::Request
> all-Perl code?
well, if you don't have that, then you likely don't have Apache::Request or
Apache::Cookie - they aren't part of the mod_perl distribution :)
you need libapreq, which can be found under the Apache tree on CPAN
HTH
--Geoff
>
> Jack Herrington
> Engineering Manager
> Certive - Building the world's first broadband B2B network
> (650) 701-8809
>