stas        2004/08/08 20:13:30

  Modified:    src/docs/2.0/user/handlers intro.pod
  Log:
  always return an explicit value from all handlers
  
  Revision  Changes    Path
  1.21      +8 -2      modperl-docs/src/docs/2.0/user/handlers/intro.pod
  
  Index: intro.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/handlers/intro.pod,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -u -r1.20 -r1.21
  --- intro.pod 22 Jul 2004 05:37:30 -0000      1.20
  +++ intro.pod 9 Aug 2004 03:13:30 -0000       1.21
  @@ -72,8 +72,14 @@
   
   =head1 Handler Return Values
   
  -Different handler groups are supposed to return different values. The
  -only value that can be returned by all handlers is C<Apache::OK>,
  +Different handler groups are supposed to return different values.
  +
  +Make sure that you B<always> explicitly return a wanted value and
  +don't rely on the result of last expression to be used as the return
  +value -- things will change in the future and you won't know why
  +things aren't working anymore.
  +
  +The only value that can be returned by all handlers is C<Apache::OK>,
   which tells Apache that the handler has successfully finished its
   execution.
   
  
  
  

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

Reply via email to