diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-06-22 19:30:32 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-06-22 19:30:32 +0000 |
commit | da41ffc5629181435ec349e6aeebfc052b334ab5 (patch) | |
tree | 4cbd51b6a157b1e243839e5a05ead7cf24a773ac /lib/Tie | |
parent | 4b7fcc74dfb0dfcd72a60881ab8de354c43fa9fb (diff) | |
download | perl-da41ffc5629181435ec349e6aeebfc052b334ab5.tar.gz |
tweak RefHash to make intent clearer (suggested by John Dlugosz)
p4raw-id: //depot/perl@3547
Diffstat (limited to 'lib/Tie')
-rw-r--r-- | lib/Tie/RefHash.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Tie/RefHash.pm b/lib/Tie/RefHash.pm index 66de2572fc..ffa9eb20a0 100644 --- a/lib/Tie/RefHash.pm +++ b/lib/Tie/RefHash.pm @@ -39,11 +39,11 @@ see the C<tie> entry in perlfunc(1) and perltie(1) for more information. =head1 AUTHOR -Gurusamy Sarathy gsar@umich.edu +Gurusamy Sarathy gsar@activestate.com =head1 VERSION -Version 1.2 15 Dec 1996 +Version 1.21 22 Jun 1999 =head1 SEE ALSO @@ -94,7 +94,8 @@ sub EXISTS { sub FIRSTKEY { my $s = shift; - my $a = scalar(keys %{$s->[0]}) + scalar(keys %{$s->[1]}); + keys %{$s->[0]}; # reset iterator + keys %{$s->[1]}; # reset iterator $s->[2] = 0; $s->NEXTKEY; } |