Hello everyone. I was just wondering if it is OK to do this:
if ($beer == $wine) {# Some code}
elsif ($beer == $vodka) {}
else {die("Oh dear! Neither condition satisfied!")}
i.e. have an empty block attached to an if, elsif or else. It might sound like an odd question, but I don't want to put undefined behaviour into my program by breaking some obscure rule. Any advice appriciated.
Steven.