cvs commit: modperl-docs/src/docs/2.0/os/win32 distinstall
randyk 2004/07/14 16:41:43 Modified:src/docs/1.0/os/win32 distinstall src/docs/2.0/os/win32 distinstall Log: specify the specific mod_perl-1.99 version. Revision ChangesPath 1.7 +1 -1 modperl-docs/src/docs/1.0/os/win32/distinstall Index: distinstall === RCS file: /home/cvs/modperl-docs/src/docs/1.0/os/win32/distinstall,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- distinstall 14 Jul 2004 19:13:59 - 1.6 +++ distinstall 14 Jul 2004 23:41:43 - 1.7 @@ -40,7 +40,7 @@ Available distributions are: -1. Perl 5.8.4 / Apache 2.0.50 / mod_perl 1.99 +1. Perl 5.8.4 / Apache 2.0.50 / mod_perl 1.99_15 2. Perl 5.6.1 / Apache 1.3.27 / mod_perl 1.27 It is recommended to install Perl and Apache into fresh locations, 1.7 +1 -1 modperl-docs/src/docs/2.0/os/win32/distinstall Index: distinstall === RCS file: /home/cvs/modperl-docs/src/docs/2.0/os/win32/distinstall,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- distinstall 14 Jul 2004 19:13:59 - 1.6 +++ distinstall 14 Jul 2004 23:41:43 - 1.7 @@ -40,7 +40,7 @@ Available distributions are: -1. Perl 5.8.4 / Apache 2.0.50 / mod_perl 1.99 +1. Perl 5.8.4 / Apache 2.0.50 / mod_perl 1.99_15 2. Perl 5.6.1 / Apache 1.3.27 / mod_perl 1.27 It is recommended to install Perl and Apache into fresh locations, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: modperl-docs/src/docs/2.0/os/win32 distinstall
randyk 2004/07/14 18:16:22 Modified:src/docs/1.0/os/win32 distinstall src/docs/2.0/os/win32 distinstall Log: mark mod_perl-1.99_xx as a development version. Revision ChangesPath 1.8 +1 -1 modperl-docs/src/docs/1.0/os/win32/distinstall Index: distinstall === RCS file: /home/cvs/modperl-docs/src/docs/1.0/os/win32/distinstall,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- distinstall 14 Jul 2004 23:41:43 - 1.7 +++ distinstall 15 Jul 2004 01:16:21 - 1.8 @@ -40,7 +40,7 @@ Available distributions are: -1. Perl 5.8.4 / Apache 2.0.50 / mod_perl 1.99_15 +1. Perl 5.8.4 / Apache 2.0.50 / mod_perl 1.99_15 (dev) 2. Perl 5.6.1 / Apache 1.3.27 / mod_perl 1.27 It is recommended to install Perl and Apache into fresh locations, 1.8 +1 -1 modperl-docs/src/docs/2.0/os/win32/distinstall Index: distinstall === RCS file: /home/cvs/modperl-docs/src/docs/2.0/os/win32/distinstall,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- distinstall 14 Jul 2004 23:41:43 - 1.7 +++ distinstall 15 Jul 2004 01:16:21 - 1.8 @@ -40,7 +40,7 @@ Available distributions are: -1. Perl 5.8.4 / Apache 2.0.50 / mod_perl 1.99_15 +1. Perl 5.8.4 / Apache 2.0.50 / mod_perl 1.99_15 (dev) 2. Perl 5.6.1 / Apache 1.3.27 / mod_perl 1.27 It is recommended to install Perl and Apache into fresh locations, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: modperl-docs/src/docs/2.0/api/APR Table.pod
stas2004/07/14 23:24:12 Modified:src/docs/2.0/api/APR Table.pod Log: fix an old outstanding bug in the APR::Table's TIE interface with each()/values() over tables with multi-values keys. Now the produced order is correct and consistent with keys(). Though, values() works correctly only with perl 5.8.x and higher. Revision ChangesPath 1.10 +34 -6 modperl-docs/src/docs/2.0/api/APR/Table.pod Index: Table.pod === RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/APR/Table.pod,v retrieving revision 1.9 retrieving revision 1.10 diff -u -u -r1.9 -r1.10 --- Table.pod 22 May 2004 02:03:26 - 1.9 +++ Table.pod 15 Jul 2004 06:24:12 - 1.10 @@ -845,12 +845,19 @@ CDELETE, CCLEAR, CEXISTS, CFIRSTKEY, CNEXTKEY and CDESTROY. -remark: CAPR::Table can hold more than one key-value pair sharing -the same key, so when using a table through the tied interface, the -first entry found with the right key will be used, completely -disregarding possible other entries with the same key. The only -exception to this is if you iterate over the list with Ceach(), then -you can access all key-value pairs that share the same key. +Note regarding the use of Cvalues(). CAPR::Table can hold more +than one key-value pair sharing the same key, so when using a table +through the tied interface, the first entry found with the right key +will be used, completely disregarding possible other entries with the +same key. With Perl 5.8.0 and higher Cvalues() will correctly list +values the corresponding to the list generated by Ckeys(). That +doesn't work with Perl 5.6. Therefore to portably iterate over the +key-value pairs, use Ceach() (which fully supports multivalued +keys), or CAPR::Table::do. + + + + =head2 CEXISTS @@ -954,6 +961,27 @@ =item since: 1.99_10 =back + +When iterating through the table's entries with Ceach(), CFETCH +will return the current value of a multivalued key. For example: + + $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 + + - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: modperl-docs/src/docs/2.0/api/APR Table.pod
[EMAIL PROTECTED] wrote: stas2004/07/14 23:24:12 Modified:src/docs/2.0/api/APR Table.pod Log: fix an old outstanding bug in the APR::Table's TIE interface with each()/values() over tables with multi-values keys. Now the produced order is correct and consistent with keys(). Though, values() works correctly only with perl 5.8.x and higher. Doh! lost the Contributed by: Joe Schaefer. Sorry. -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]