http://www.perlmonks.org?node_id=136281


in reply to Why I Hate Nested If-Else blocks

Why rant about nested if-elses? There is nothing intrinsically wrong with them. When in doubt, I always hit shift-5 in vi to check that my {'s match my }'s. In fact, I am going out on a limb to say that I LIKE nested if-elses. I really do. Here, choke on this:
if ($a) { if ($b) { } else { } } else {if ($c) { } else { } }

I like chicken.