my %hash = map {$_ => undef} qw(7 5 3); print "ok" if exists $hash{$test};