in reply to Re: better array to hash conversion
in thread better array to hash conversion
Actually I do like your example with 'map' because it made me understand better how 'map' works (even though @hash{@array} = 0..$#array; is probably the better solution here).