Comment Re:why? (Score 1) 677
I don't know. I think it's case dependent. In the example cited, the cleanup code is simple function calls and the operations are different for each case (for one, it's one cleanup, for another, it's two and for the success it's three).
Part of the problem is, the examples are really too small to call either way. I try to aim for my code to be clean and understandable and not to be dogmatic about things. I avoid certain Perl idioms for just this reason. Though I certainly agree that TMTOWTDI