Should really read
@hash{@array}=(0..$#array};
Thanks for the catch, perltux!
In reply to Re: better array to hash conversion by clueless newbie in thread better array to hash conversion by perltux