An overly complex conditional is an overly complex conditional regardless of whether it appears as part of an if statement or an unless statement.
I think I should've formulated the question in other words: "Quick, when will we enter into the block?".
Or, put it yet another way: if we know the values of $bar, $baz, and $undef, is it easier to walk the if or the unless conditional?
--
David Serrano
In reply to Re^5: Is this the most elegant way to code directory lookup?
by Hue-Bond
in thread Is this the most elegant way to code directory lookup?
by texasperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |