Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Is it possible to determine the number of values for a particular hash key?

by pajout (Curate)
on Oct 25, 2013 at 09:20 UTC ( [id://1059616] : note . print w/replies, xml ) Need Help??


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

Strictly spoken, number of values for a particular key in a hash is 0 or 1. Of course, if the value is reference to array, that array could have many values.