in reply to Hash Array Help
What you need to do is push a hash reference, i.e. push @bar, \%foo onto the array and then use that value:%foo = ( a => 1, b => 2, c => 3, ); push @bar, %foo; print $bar[0], "\n";
for my $foo (@bar) { print keys (%$foo), "\n"; }
|
|---|