in reply to How can I find the number of elements in a hash?

Use this: $size = scalar keys %hash;
  • Comment on Re: How can I find the number of elements in a hash?