in reply to Re: IF and some conditions
in thread IF and some conditions

I'd really rather write that with an == test instead of a regular expression:
print "OK\n" if grep { $test == $_ } (3,5,7);