|laziness, impatience, and hubris|
find a number of keys in a hashby perlthirst (Scribe)
|on Jan 16, 2009 at 14:20 UTC||Need Help??|
perlthirst has asked for the
wisdom of the Perl Monks concerning the following question:
how to find a number of keys in a hash with out declaring temporary array?
I am able to get number of keys in a hash, by using the following method
But here I have used array named as keylen and then i got the total number of keys.
Is it possible to take in a step. Kindly advice.