in reply to Re^6: keys of hashin thread keys of hash
I usually use $hash{$_} = 1 for @array; instead.