Think about Loose Coupling | |
PerlMonks |
Counting number of keys in a hash.by sschneid (Deacon) |
on Jul 27, 2004 at 19:33 UTC ( [id://377827]=perlquestion: print w/replies, xml ) | Need Help?? |
sschneid has asked for the wisdom of the Perl Monks concerning the following question:
Is there a 'quick & easy' way to count the number of keys in a hash without creating an (incremental) variable and mapping through it?
-s.
Back to
Seekers of Perl Wisdom
|
|