$cmdData->{command_1}{subfields} is defined. It's an array reference.
$cmdData->{command_2}{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.@{ $cmdData->{$cmd}{subfields} }
In reply to Re: Iterating through a HoHoH ... does a particular sub-hash exist?
by ikegami
in thread Iterating through a HoHoH ... does a particular sub-hash exist?
by jedikaiti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |