Frank Wiles wrote:
>   Should have saved up all of my questions for one E-mail. :) 
> 
>   In /docs/2.0/user/intro/overview.html "New Hook Scheme" section,
>   it talks about an API change and the example uses Apache2::Hook->add,
>   which obviously doesn't exist. 

yeah, though there is a META tag that indicates the functionality has yet to
be written.

> 
>   I just wanted to double check that it should be moved to
>   using push_handlers() in the example and not to something from
>   Apache2::HookRun. 

well, I think there are two things going on here.  the first is the hooking
mechanism in httpd proper, which is correctly explained.  the second is the
idea of Apache2::Hook, which seems to indicate that you can somehow order
Perl*Handlers through add().  in reality, you can do this already by using
set_handlers() instead of push_handlers(), but the docs are kinda mixing up
two different things - the new hooking mechanism _is_ cool, but the impact
to mod_perl 2.0 users isn't all that great.

in general, I'd say to just remove that entire section, as that doc is
intended to show why mp2 is cooler than mp1 but the hook example has turned
out to really not matter all that much to the end user.

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to