in reply to Combining two lists into a hash

slices:
my @a = ('one', 'two', 'three'); my @b = (1, 2, 3); my %result; @result{@a} = @b;