From modperl-cvs-return-3309-apmail-perl-modperl-cvs-archive=perl.apache.org@perl.apache.org Fri Apr 11 07:34:38 2003 Return-Path: Delivered-To: apmail-perl-modperl-cvs-archive@perl.apache.org Received: (qmail 93893 invoked by uid 500); 11 Apr 2003 07:34:38 -0000 Mailing-List: contact modperl-cvs-help@perl.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@perl.apache.org Received: (qmail 93882 invoked by uid 500); 11 Apr 2003 07:34:38 -0000 Delivered-To: apmail-modperl-docs-cvs@apache.org Date: 11 Apr 2003 07:34:37 -0000 Message-ID: <20030411073437.35565.qmail@icarus.apache.org> From: stas@apache.org To: modperl-docs-cvs@apache.org Subject: cvs commit: modperl-docs/src/docs/2.0/user/porting compat.pod X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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-Enotes> + +Similar to C, C and C +in mod_perl 2.0, C<$r-Enotes()> returns an +C> object, which can be used +as a tied hash or calling its I/I/I/I +methods. + +If C> is loaded the +old API: + + $r->notes($key => $val); + $val = $r->notes($key); + +is supported as well. + +See the L manpage. + =head2 C<$r-Eheader_in> See the next item.