my %hash; @hash{@keys} = @values; [download]
In reply to Re: Merging arrays into a hash by japhy in thread Merging arrays into a hash by pazuzu