in reply to Populating a hash from array
my %myhash = map { $array1[$_] => $array2[$_] } 0 .. $#array1; [download]