On Tue, 14 Jan 2003 [EMAIL PROTECTED] wrote:
> I try this simple module:
> ----------------------------------------------------------------------------
> #!/usr/bin/perl
> package My;
> use strict;
> use warnings;
> use Apache::RequestRec ();
> use Apache::RequestIO ();
> use Apache::RequestUtil ();
> use Apache::Const -compile => qw(OK);
> use APR::Table;
> use CGI;
>
> sub handler
> {
> my $r = shift;
> my $query=CGI->new();
> print $query->param('id');
> }
> --------------------------------------------------------------------------
>
> and see that in error.log:
>
> [Tue Jan 14 13:59:08 2003] [error] Can't locate Apache.pm in @INC
[...]
> What I'm doing wrong? How to parse urlecnoded?
Does an upgrade of CGI.pm to the latest version help? Earlier
versions aren't mod_perl 2.0 aware ....
--
best regards,
randy kobes