if (grep { $color eq $_ } qw(red green blue)) { # something } [download]
-Matt
In reply to Re: OR operator by DrManhattan in thread OR operator by Anonymous Monk