I have googled around quite a bit but haven't found anything for this. Using Apache 2.2.3, mod_perl 2.0.2-2.4, both are from Debian packages.
I am not using handlers, just scripts, and so I have nothing to shift. Also, the Apache2::requestutil stuff doesn't work. $r = shift; # $r will be undefined Alternatively, use Apache2::RequestUtil (); $r = Apache2::RequestUtil->request; At this point the script fails and I get the following line in the apache error log: Can't locate object method "request" via package "Apache2::RequestUtil" at /var/www/site/perl/page.pl line 9. I also tried use Apache2::compat; But that failed because of a problem with the use strict inside there: Bareword "Apache2::ServerUtil::server_root" not allowed while "strict subs" in use at /usr/lib/perl5/Apache2/compat.pm line 346. Is there any workaround which is going to give me the request object inside a script, using these versions of Apache and mod_perl? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com