I have installed Apache2::Request via CPAN, but i keep getting this message in my error_log
[error] Global symbol "$r" requires explicit package name at /var/www/perl/doc.pl line 10.\n Apache configuration looks like this: LoadModule perl_module modules/mod_perl.so LoadModule apreq_module modules/mod_apreq2.so <Directory /var/www/perl> AddHandler perl-script .pl PerlResponseHandler ModPerl::Registry Apache2::Request PerlOptions +ParseHeaders +GlobalRequest Options +ExecCGI DirectoryIndex new_home.pl </Directory> PerlModule Apache2::Request doc.pl looks like this: #!/usr/bin/perl -w use strict; use CGI; use APR::Request::Apache2 (); print "Content-type: text/html\n\n"; print "Hello"; my $req = Apache2::Request->new($r, POST_MAX => "1M"); Any thoughts? TIA