On Mon, 1 Dec 2003 [EMAIL PROTECTED] wrote: > Hi All > > I'm trying to get the whole http request body with something like: > > use Apache (); > my $r = Apache->request; > > also tried: > > use Apache::Request; > my $apr = Apache::Request->new($r); > > but failed with the following in the error log: > > Can't locate object method "new" via package "Apache" (perhaps you forgot to > load "Apache"?) > Can't locate object method "new" via package "Apache::Request" (perhaps you > forgot to load "Apache::Request"?) > > Apache and Apache::Request is installed. I also installed libapreq via ppm. > My environment: > WinXP and NT4 with > Perl 5.6.1 > Apache/1.3.26 (Win32) mod_ssl/2.8.10 OpenSSL/0.9.6d mod_perl/1.27_01-dev
Another thought on this - did you install libapreq through the ActiveState ppm repository? That particular package doesn't work in a mod_perl environment - try installing the one we have here via (all on one line) C:\> ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/libapreq.ppd -- best regards, randy kobes -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html