On Sun, Oct 19, 2003 at 08:02:34PM -0700, R. Joseph Newton wrote: > I think your formatting may reflect a misconception about if and > elsif staements. > > while ($foo) { > if ($condition_1) { > do_1(); > } > elsif ($condition_2) { > do_2(); > } > # ... > } > > Should be:
Wait a minute! Except for the do_2() line, which should of course be indented, that's the Orthodox Perl Layout. I'm sure there are competent people using both styles, so I have to assume that the choice between uncuddled elses (as shown above) and their cuddled bretheren (mercifully snipped) comes down to personal preference. -- Steve -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]