Lines Matching refs:keys
9 # references as keys.
84 test((keys %h) == 1);
85 test(ref((keys %h)[0]) eq 'ARRAY');
86 test((keys %h)[0] eq $ref);
100 test((keys %h) == 0);
122 test((keys %h) == 1);
123 test((keys %h)[0] eq $ref);
124 test((keys %{$h{$ref}}) == 1);
125 test((keys %{$h{$ref}})[0] eq $ref1);
159 # hash keys can appear in any order, Data::Dumper may give different
165 foreach (sort keys %$h) {
233 # One thing we don't test is that the ordering from 'keys', 'values'
239 # Library of standard tests on keys, values and each
241 join $;, sort keys %h;
272 # Test storing and removing under ordinary keys