Return-Path: Delivered-To: apmail-perl-docs-dev-archive@www.apache.org Received: (qmail 35294 invoked from network); 17 Sep 2005 23:27:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Sep 2005 23:27:26 -0000 Received: (qmail 60472 invoked by uid 500); 17 Sep 2005 23:27:26 -0000 Delivered-To: apmail-perl-docs-dev-archive@perl.apache.org Received: (qmail 60439 invoked by uid 500); 17 Sep 2005 23:27:25 -0000 Mailing-List: contact docs-dev-help@perl.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list docs-dev@perl.apache.org Received: (qmail 60425 invoked by uid 99); 17 Sep 2005 23:27:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2005 16:27:25 -0700 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [219.192.112.121] (HELO kashome.dyn.jankratochvil.net) (219.192.112.121) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2005 16:27:34 -0700 Received: from kashome.dyn.jankratochvil.net (localhost [127.0.0.1]) by kashome.dyn.jankratochvil.net (8.13.4/8.13.4) with ESMTP id j8HNRLRI030610 for ; Sun, 18 Sep 2005 08:27:21 +0900 Received: (from lace@localhost) by kashome.dyn.jankratochvil.net (8.13.4/8.13.4/Submit) id j8HNRLuk030609 for docs-dev@perl.apache.org; Sun, 18 Sep 2005 08:27:21 +0900 Date: Sun, 18 Sep 2005 08:27:20 +0900 From: Jan Kratochvil To: docs-dev@perl.apache.org Subject: Small but important typo Message-ID: <20050917232720.GB30590@kashome.dyn.jankratochvil.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, attached patch is for: http://search.cpan.org/~gozer/mod_perl-2.0.1/docs/api/APR/Table.pod and its: $table->add("a" => 1); $table->add("b" => 2); $table->add("c" => 3); ($k, $v) = each %$table; # (a, 1) print $table->{a}; # prints 1 ($k, $v) = each %$table; # (b, 2) print $table->{a}; # prints 1 ($k, $v) = each %$table; # (a, 3) print $table->{a}; # prints 3 !!! ($k, $v) = each %$table; # (undef, undef) print $table->{a}; # prints 1 while in fact it DID NOT print 3, it was still printing 1... Regards, Lace --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mod_perl-2.0-docs-prints_3_heh.patch" Index: api/APR/Table.pod =================================================================== --- api/APR/Table.pod (revision 289859) +++ api/APR/Table.pod (working copy) @@ -976,7 +976,7 @@ $table->add("a" => 1); $table->add("b" => 2); - $table->add("c" => 3); + $table->add("a" => 3); ($k, $v) = each %$table; # (a, 1) print $table->{a}; # prints 1 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org For additional commands, e-mail: docs-dev-help@perl.apache.org --AqsLC8rIMeq19msA--