Re: $r vs. Apache2::RequestUtil->request

2011-10-26 Thread Fred Moyer
Apache2::Request is a Perl module which is part of the libapreq Apache software project. You have to install apreq ( http://httpd.apache.org/apreq/ ) and then load the shared object in httpd.conf via LoadModule. It contains many convenience methods that CGI.pm normally provides. Apache2::Request

$r vs. Apache2::RequestUtil->request

2011-10-26 Thread Charlie Katz
Hi, I'm confused about something. I am cleaning up some legacy Perl code in our application, and I find a number of our custom Perl modules have functions which require $r be passed to them solely for use in logging (e.g. $r->log->error()). I want to remove that requirement, so I am changing thing

Re: $r vs. Apache2::RequestUtil->request

2011-10-26 Thread Charlie Katz
Okay, never mind. The Apache2::Log methods are in fact working for me. Stupid error. I am still curious about the difference between the Apache2::Request object which is the default request record accessor, and the Apache2::RequestRec object which comes out of Apache2::RequestUtil::request. On