in reply to IF and some conditions

there are a lot of ways. you proposed 3 of them, of which the last one looks the most elegant to me. but just for the sake of my vanity here's another approach:
print "OK\n" if grep /$test/, (3,5,7);
;)

language is a virus from outer space.

Replies are listed 'Best First'.
Re^2: IF and some conditions
by Joost (Canon) on Jun 02, 2005 at 11:51 UTC