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


in reply to The joys of bad code

I just came across these two gems written by a coworker (slightly simplified--comments are mine):

if ($some_condition) { } else { # do something ... }

and

if ($x > 10) { # do something } elsif ($x <= 10) { # do something else } else { # do something else }

-b