...it's not necessary to use a C-style loop here
Indeed. In fact I'd simplify things even further by not using an array index at all:
for my $item ( @AoH ) { for my $key ( keys %$item ) { print "$key => $item->{ $key }\n"; } }
In reply to Re^2: Dereferencing array of hashes
by Not_a_Number
in thread Dereferencing array of hashes
by monkini
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |