On May 3, 2007, at 10:54 AM, Torsten Foertsch wrote:
You see the location function is created directly in the
Apache2::RequestRec
namespace (the PACKAGE = ...).
The perl equivalent would be a file named Apache2/RequestUtil.pm
that starts
with a "package Apache2::RequestRec" line. When you now load
Apache2::RequestUtil all functions in the file will be added to the
Apache2::RequestRec namespace.
This is a common pattern in mod_perl.
So then this is a documentation bug of sorts ?
It seems like a gray area -- I can change my code to use RequestUtil
if needed, I just don't want anything that isn't written to spec.