http://www.perlmonks.org?node_id=453737


in reply to Combining two lists into a hash

my %hash; @hash{@a} = @b;