my %lookup_hash = (); %lookup_hash{@whatever} = (1) x @whatever;