in reply to Re: Testing Hash with empty value in HoH
in thread Testing Hash with empty value in HoH

salva,
I agree with what you have said and how you have used your code, but for clarity believe you should add in scalar context. It may not be obvious to someone unfamiliar with Perl's DWYMery that in list context you get the list of values and in scalar context you only get the count.

Cheers - L~R

  • Comment on Re^2: Testing Hash with empty value in HoH