foreach my $d (@{$array_of_hashes}) { print $d[0]{'one1'}; } #### foreach my $h (@{$array_of_hashes}) { print $h->{'one1'}; } #### print $array_of_hashes[0]{'one1'}; print $array_of_hashes[0]{'one2'}; print $array_of_hashes[1]{'two1'}; print $array_of_hashes[1]{'two2'}; #### print $array_of_hashes->[0]{'one1'}; print $array_of_hashes->[0]{'one2'}; print $array_of_hashes->[1]{'two1'}; print $array_of_hashes->[1]{'two2'}; #### my %hash; my @array; ... push @array, \%hash; ... push @array, \%hash; #### my @array; { my %hash; ... push @array, \%hash; } { my %hash; ... push @array, \%hash; }