Here is the equivalent of toolic's solution, in one line:
my $h={map{$a1[$_]=>{Metadata=>$a2[$_],Submitted=>$a3[$_]}}0..$#a1};
"You're only given one little spark of madness. You mustn't lose it." - Robin Williams
In reply to Re: Populating a hash-ref from multiple arrays with slice?
by NetWallah
in thread Populating a hash-ref from multiple arrays with slice?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |