The outer loop now uses the array index, not an alias to your array element, as a loop variable. That is what your inner loop expects to see, anyway.foreach (0 .. $#Array) { foreach my $tmp (keys %{$Array[$_]}) { print "$tmp\n" } }
In reply to Re: Why is AofH the way it is?
by bart
in thread Why is AofH the way it is?
by melguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |