in reply to Re^4: Is this the most elegant way to code directory lookup?
in thread Is this the most elegant way to code directory lookup?

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

  • Comment on Re^5: Is this the most elegant way to code directory lookup?