in reply to OR operator

And just for grins:
if (grep { $color eq $_ } qw(red green blue)) { # something }

-Matt

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.