There's no real reason to shorten this if it will stay that way. Shorter is not always better.
You could make it more scalable like that:
next if exists { map {$_=>undef} qw(first second third) }->{ $field }
But that is certainly less effivient than hard-coded! Use this (or something like it) only if you need this point to be that extendable.
--In reply to Re: Fine tuning my condition statement
by fruiture
in thread Fine tuning my condition statement
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |