In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/fe7d7ed30f61366a4cfdd0edc6051ffc736a572a?hp=275d368b86effce470e1f872f4c3e0a5af1fec93>
- Log ----------------------------------------------------------------- commit fe7d7ed30f61366a4cfdd0edc6051ffc736a572a Author: Matthew Horsfall <[email protected]> Date: Tue Mar 11 15:59:15 2014 -0400 Correct hv_iterinit's return value documentation ----------------------------------------------------------------------- Summary of changes: hv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hv.c b/hv.c index efeadb7dad..85e42d13e0 100644 --- a/hv.c +++ b/hv.c @@ -2172,8 +2172,8 @@ S_hv_auxinit(pTHX_ HV *hv) { =for apidoc hv_iterinit Prepares a starting point to traverse a hash table. Returns the number of -keys in the hash (i.e. the same as C<HvUSEDKEYS(hv)>). The return value is -currently only meaningful for hashes without tie magic. +keys in the hash, including placeholders (i.e. the same as C<HvTOTALKEYS(hv)>). +The return value is currently only meaningful for hashes without tie magic. NOTE: Before version 5.004_65, C<hv_iterinit> used to return the number of hash buckets that happen to be in use. If you still need that esoteric -- Perl5 Master Repository
