in reply to Fine tuning my condition statement
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.
--
|
|---|