in reply to Is it possible to determine the number of values for a particular hash key?

length
perldoc -f length
This function cannot be used on an entire array or hash to find out how many elements these have. For that, use "scalar @array" and "scalar keys %hash", respectively.
  • Comment on Re: Is it possible to determine the number of values for a particular hash key?
  • Download Code