my %things; for (my $i = 0; $i < @people; $i++) { $things{$people[$i]} = $jobs{$i}; } [download]
In reply to Re: hashes by Jaap in thread Populating a hash with two arrays by Anonymous Monk