No such thing as a small change | |
PerlMonks |
Re^2: Control Structuresby Mutant (Priest) |
on May 10, 2005 at 11:51 UTC ( [id://455528]=note: print w/replies, xml ) | Need Help?? |
As others have posted, I don't find problems with this either. Although as soon as these sort of statements start becoming complicated, you're much better off using a proper if () {} block.
I find trailing if/unless can greatly improve the readability of code (which hopefully helps to reduce bugs).
In Section
Meditations
|
|