You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Bart Terryn <ba...@grafikon.com> on 2003/09/05 00:51:59 UTC
apache2, mod_perl: problem with CGI
Hi folks,
Just trying to get up and running with Apache/2.0.47 (Win32)
mod_perl/1.99_10-dev Perl/v5.8.0 Server
Have installed AS Perl 5.8 and the mod_perl ppm that Randy provides the
world with.
Running my mod_perl code using the ModPerl::Registry handler.
Now everything is fine until I put the following in my code:
use CGI();
my $q = CGI->new();
>From that point on I get a servererror and the following entry in the apache
logfile:
[Fri Sep 05 00:17:12 2003] [error] 1688: ModPerl::Registry: Can't locate
object method "request" via package "Apache" at C:/Perl/lib/CGI.pm line 269.
Now it is getting late here and I really want to go to sleep.
Could somebody enlighten me here what is going on
Many thanks in advance
Bart
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bart Terryn - Systems Manager - Grafikon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steenbruggedijk, 1 8020 Oostkamp - Belgium
phone: +32 50 367200 fax: +32 50 367230
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A man who does not read good books has no
advantage over the man who cannot read them
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html