Hi, I'm trying to use Apache2::HookRun according to the example provided in
http://perl.apache.org/docs/2.0/api/Apache2/HookRun.htmlTwo problems so far:
- Apache2::RequestRec doesn't appear to provide a new() method, so the example fails.
- A subsequent "$r->location_merge($path);" seems, according to the comments, to be required or bad things will happen, but $path isn't declared or defined and location_merge() is not to be a method for Apache2::RequestRec either.
Okay, so the example code seems a bit broken. Does anyone know how it should be fixed/rewritten? Thanks.
Best,
Thomas