A simpler, non-redundant condition expression would be:
ref $array eq 'ARRAY' && ref $array->[0] eq 'HASH'
In reply to Re: how to check contents of my array ref
by AnomalousMonk
in thread how to check contents of my array ref
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |