You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2003/08/08 02:46:55 UTC

cvs commit: modperl-docs/src/docs/2.0/user/coding coding.pod

stas        2003/08/07 17:46:55

  Modified:    src/docs/2.0/user/coding coding.pod
  Log:
  improve docs
  
  Revision  Changes    Path
  1.26      +12 -3     modperl-docs/src/docs/2.0/user/coding/coding.pod
  
  Index: coding.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/coding/coding.pod,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- coding.pod	9 May 2003 01:27:28 -0000	1.25
  +++ coding.pod	8 Aug 2003 00:46:55 -0000	1.26
  @@ -1,10 +1,12 @@
   =head1 NAME
   
  -Coding with and for mod_perl
  +Writing mod_perl Handlers and Scripts
   
   =head1 Description
   
  -This chapter covers the mod_perl coding specifics, different from normal Perl coding.
  +This chapter covers the mod_perl coding specifics, different from
  +normal Perl coding. Most other perl coding issues are covered in the
  +perl manpages and rich literature.
   
   =head1 Prerequisites
   
  @@ -199,11 +201,18 @@
   
   =head2 Request-localized Globals
   
  +mod_perl 2.0 provides two types of C<SetHandler> handlers:
  +C<L<modperl|docs::2.0::user::config::config/C_modperl_>> and
  +C<L<perl-script|docs::2.0::user::config::config/C_perl_script_>>.
  +Remember that the C<SetHandler> directive is only relevant for the
  +response phase handlers, it neither needed nor affects non-response
  +phases.
  +
   Under the handler:
   
     SetHandler perl-script
   
  -Several special global Perl variables are saved before the handler is
  +several special global Perl variables are saved before the handler is
   called and restored afterwards. This includes: C<%ENV>, C<@INC>,
   C<$/>, C<STDOUT>'s C<$|> and C<END> blocks array (C<PL_endav>).
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org