perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/src/docs/2.0/user/porting compat.pod
Date Fri, 11 Apr 2003 07:34:37 GMT
stas        2003/04/11 00:34:37

  Modified:    src/docs/2.0/user/porting compat.pod
  Log:
  document the shrinked $r->notes() API
  
  Revision  Changes    Path
  1.3       +18 -0     modperl-docs/src/docs/2.0/user/porting/compat.pod
  
  Index: compat.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/porting/compat.pod,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- compat.pod	11 Apr 2003 03:20:09 -0000	1.2
  +++ compat.pod	11 Apr 2003 07:34:36 -0000	1.3
  @@ -598,6 +598,24 @@
         \*_;
     }
   
  +=head2 C<$r-E<gt>notes>
  +
  +Similar to C<headers_in()>, C<headers_out()> and C<err_headers_out()>
  +in mod_perl 2.0, C<$r-E<gt>notes()> returns an
  +C<L<APR::Table|docs::2.0::api::APR::Table>> object, which can be used
  +as a tied hash or calling its I<get()>/I<set()>/I<add()>/I<unset()>
  +methods.
  +
  +If C<L<Apache::compat|docs::2.0::api::Apache::compat>> is loaded the
  +old API:
  +
  +   $r->notes($key => $val);
  +   $val = $r->notes($key);
  +
  +is supported as well.
  +
  +See the L<Apache::RequestRec> manpage.
  +
   =head2 C<$r-E<gt>header_in>
   
   See the next item.
  
  
  

Mime
View raw message