in reply to Re: Counting number of keys in a hash.
in thread Counting number of keys in a hash.
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
|
|---|