jrsmith has asked for the wisdom of the Perl Monks concerning the following question:
is it bad form to leave off the else in if statements if you are not going to use it? just something i'm pondering..
like this-
like this-
instead of-if ($x = $y) { print "$y = $x\n"; }
if ($x = $y) { print "$y = $x\n"; } else { #waste of space }
Back to
Seekers of Perl Wisdom