Nansh: I find your OPed question a bit vague, but I think the answers I've seen so far are probably pretty close to the mark.
However, it occurs to me that you might be thinking about a slice:
c:\@Work\Perl\monks>perl -wMstrict -le "use Data::Dump qw(dd); ;; my @arr = qw(one two three); ;; my %hash; @hash{ qw(uno dos tres) } = @arr; dd \%hash; " { dos => "two", tres => "three", uno => "one" }
Give a man a fish: <%-{-{-{-<
In reply to Re: Hash of array.
by AnomalousMonk
in thread Hash of array.
by Nansh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |