> From: [EMAIL PROTECTED] (Randal L. Schwartz)

> The docs hint that I can use whatever I would put after ErrorDocument
> as the arg to custom_response, but also suggest that I can put "a
> module" there.  Does that mean it's the same style of argument as a
> ->pushhandler(), where I can also put a coderef?


In Chapter Nine, there are other possibilities.  Would you wish to:

set_handlers() 

If you would like to change the list of handlers configured for the current
request, you can change it with set_handlers(). This method takes two
arguments, the name of the handler you wish to change, and an array
reference pointing to one or more references to the handler subroutines you
want to run for that phase. If any handlers were previously defined, such as
with a Perl*Handler directive, they are replaced by this call. You can
provide a second argument of undef if you with to remove all handlers for
that phase. 

Examples: 
 $r->set_handlers(PerlAuthenHandler => [\&auth_one, \&auth_two]);
 $r->set_handlers(PerlAuthenHandler => undef);


Just a thought?
____________________________________________________________________
Bill Jones * Systems Programmer * http://www.fccj.org/cgi/mail?sneex

                                   ('>   Running -
                                   //\   Perl, Apache, MySQL, PHP3,
                                   v_/_  Ultra 10, LinuxPPC, BeOS...

Reply via email to