in reply to long if statements... What's the best way?
Similar to wade's solution, but with multi-character comparision
if ($var=~/^(apple|pear|orange)$/) {.... [download]