@hash{@array} = map 1,@a; [download]
In reply to Re^5: keys of hash by choroba in thread keys of hash by prafull