http://qs321.pair.com?node_id=665222


in reply to Need help testing to see if a variable is one value or the other

Here's the reason why:
"yes" or "no"
evaluates to "yes", so
$var eq ("yes" or "no")
is the same as
$var eq "yes"