sounds like your script is running under mod_cgi, not mod_perl
On Tue, 11 Jan 2000, Akio wrote:
> I´m programming in mod_perl and I'm trying to use libapreq-0.31 but
> when I call method new, I get the msg "Can't locate object method "new"
> via package
> "Apache::Request"".
>
> The package (module) that use it has a statement "use Apache::Request (
> )"
> and the next statement is :
>
> my $r= Apache::Request->new(shift);
>
> I have it installed in a Sun Solaris server (not i86) and I´m using
> Perl
> 5.005. I have downloaded it from CPAN site.
>
> Anyone can help me?
>