push @array, $hash{$_} for keys %hash;
That will work (as shown) but to me seems very unwieldy when we could use values instead:
push @array, values %hash;
Does using for and keys buy you anything here?
In reply to Re^2: Hash of array.
by hippo
in thread Hash of array.
by Nansh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |