Thanx from me too. I just had to do this today actually. I figured there was a better way than my quick solution of:
my $counter = 0; $counter++ for keys %hash;
--
"A long habit of not thinking a thing wrong, gives it a superficial appearance of being right." -- Thomas Paine
naChoZ
In reply to Re^2: Counting number of keys in a hash.
by naChoZ
in thread Counting number of keys in a hash.
by sschneid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |