http://www.perlmonks.org?node_id=249490


in reply to OR operator

Here's a correct syntax:
if ($color eq "red" || $color eq "blue" || $color eq "green") { # something }

-Matt