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


in reply to Re: A guide to coding Perl
in thread A guide to coding Perl

Yes, yes, yes. Fallthrough is concise, natural and seemly.

To my knowledge, I've only met two people, Pascal lovers both, who could not abide fallthrough. In their code, an if statement that could return was always followed by an else clause that contained the rest of the routine.

To be fair: a couple more spaces in your indents and your first version would read much better.