if (grep { $variable == $_ } (1, 2, 3)) { ... } [download]
In reply to Re: Using IF and OR, I'm sure there is a better way by cog in thread Using IF and OR, I'm sure there is a better way by cosmicperl