a quick example under the Perl debugger:
DB<1> %hash = ( jan => 1, feb => 2, mar => 3); DB<2> push @array, $hash{$_} for keys %hash; DB<3> x \@array; 0 ARRAY(0x20275150) 0 1 1 3 2 2
In reply to Re: Hash of array.
by Laurent_R
in thread Hash of array.
by Nansh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |