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-E<gt>set_handlers( $hook, [\&handler, ... ] )
+=item $r-E<gt>set_handlers( $hook, [\E<amp>handler, ... ] )
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-E<gt>push_handlers( $hook, \&handler )
+=item $r-E<gt>push_handlers( $hook, \E<amp>handler )
-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.