Return-Path: Delivered-To: apmail-modperl-cvs-archive@apache.org Received: (qmail 636 invoked by uid 500); 24 Jan 2002 14:53:35 -0000 Mailing-List: contact modperl-cvs-help@apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@perl.apache.org Delivered-To: mailing list modperl-cvs@apache.org Received: (qmail 614 invoked from network); 24 Jan 2002 14:53:35 -0000 Date: 24 Jan 2002 14:53:35 -0000 Message-ID: <20020124145335.86714.qmail@icarus.apache.org> From: stas@apache.org To: modperl-cvs@apache.org Subject: cvs commit: modperl/Apache Apache.pm X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N stas 02/01/24 06:53:35 Modified: Apache Apache.pm Log: - escape & chars Revision Changes Path 1.70 +5 -5 modperl/Apache/Apache.pm Index: Apache.pm =================================================================== RCS file: /home/cvs/modperl/Apache/Apache.pm,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- Apache.pm 21 Jan 2002 14:32:34 -0000 1.69 +++ Apache.pm 24 Jan 2002 14:53:34 -0000 1.70 @@ -776,20 +776,20 @@ $list = $r->get_handlers( 'PerlHandler' ); -=item $r-Eset_handlers( $hook, [\&handler, ... ] ) +=item $r-Eset_handlers( $hook, [\Ehandler, ... ] ) Sets the list if handlers to be called for $hook. $hook is a string representing the phase to handle. The list of handlers is an anonymous array of code references to the handlers to install for this request -phase. The special list [ \&OK ] can be used to disable a particular -phase. +phase. The special list C<[ \&OK ]> can be used to disable a +particular phase. $r->set_handlers( PerlLogHandler => [ \&myhandler1, \&myhandler2 ] ); $r->set_handlers( PerlAuthenHandler => [ \&OK ] ); -=item $r-Epush_handlers( $hook, \&handler ) +=item $r-Epush_handlers( $hook, \Ehandler ) -Pushes a new handler to be called for $hook. $hook is a string +Pushes a new handler to be called for C<$hook>. C<$hook> is a string representing the phase to handle. The handler is a reference to a subroutine to install for this request phase. This handler will be called before any configured handlers.