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
In reply to Re: The joys of bad code
by bgreenlee
in thread The joys of bad code
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |