-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scalar %hash shows/uses HvTOTALKEYS and not HvUSEDKEYS #15252
Comments
From @demerphqHvTOTALKEYS returns the number of keys, including placeholders, in a perl -MHash::Util=lock_keys -le'my %hash=(a=>1); lock_keys(%hash); IMO scalar %hash should return the same thing as 0+keys %hash. But at This is a longstanding issue that is present in blead (local patches $ ./perl -v This is perl 5, version 23, subversion 10 (v5.23.10 Copyright 1987-2016, Larry Wall Perl may be copied only under the terms of either the Artistic License or the Complete documentation for Perl, including FAQ lists, should be found on -- |
From @demerphqNote that the ticket here is slightly inaccurate. When HvTOTALKEYS is
We should show HvUSEDKEYS() instead. On 26 March 2016 at 13:53, yves orton <perlbug-followup@perl.org> wrote:
-- |
From @maukeAm 26.03.2016 um 13:53 schrieb yves orton (via RT):
+1 -- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#127788 (status was 'open')
Searchable as RT127788$
The text was updated successfully, but these errors were encountered: