I am trying to call the Apache::Request module from one of my modules that I wrote and here is the error I get in my error_log:
Can't locate object method "new" via package "Apache::Request" blablabla I was browsing though the mod_perl archives and found a similar post, so I checked to make sure my module is running in mod_perl mode: print "not " unless $ENV{MOD_PERL}; print "running under mod_perl.\n"; So I am running under mod_perl. I tried changing the order of loading the PerlModules in my httpd.conf file, but that did not help. I am running perl-5.6.1, mod_perl-1.26, apache-1.3.23 mod_ssl-2.8.7 openssl-0.9.6c all compiled as DSO on linux kernel-2.4.17 my module starts as follows: use Apache::File(); use Apache::Request; use Apache::Constants qw (:common); sub handler { my $r = shift; my $apr = Apache::Request->new($r); etc... httpd.conf to go with it: <Location /my_module> SetHandler perl-script PerlHandler my_module_dir::my_module </Location> Any ideas? Any help is appreciated! Alex