Welcome to the Monastery | |
PerlMonks |
Re: Iterating through a HoHoH ... does a particular sub-hash exist?by ikegami (Patriarch) |
on Apr 05, 2010 at 17:46 UTC ( [id://832866]=note: print w/replies, xml ) | Need Help?? |
$cmdData->{command_1}{subfields} is defined. It's an array reference.
Sounds like you want to check the number of elements in the referenced array. That would be in scalar context.
In Section
Seekers of Perl Wisdom
|
|