--0016e6db66fa5afb7804711677ab
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi, I'm trying to use Apache2::HookRun according to the example provided in
http://perl.apache.org/docs/2.0/api/Apache2/HookRun.html
Two problems so far:
1. Apache2::RequestRec doesn't appear to provide a new() method, so the
example fails.
2. 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
--0016e6db66fa5afb7804711677ab
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi, I'm trying to use Apache2::HookRun according to the example provide=
d in <a href=3D"http://perl.apache.org/docs/2.0/api/Apache2/HookRun.html">h=
ttp://perl.apache.org/docs/2.0/api/Apache2/HookRun.html</a><br><br>Two prob=
lems so far:<br>
<ol><li>Apache2::RequestRec doesn't appear to provide a new() method, s=
o the example fails.</li><li>A subsequent "$r->location_merge($path=
);" seems, according to the comments, to be required or bad things wil=
l happen, but $path isn't declared or defined and location_merge() is n=
ot to be a method for Apache2::RequestRec either.<br>
</li></ol>Okay, so the example code seems a bit broken. Does anyone know ho=
w it should be fixed/rewritten? Thanks.<br><br>Best,<br>Thomas<br><br>
--0016e6db66fa5afb7804711677ab--
