in reply to A guide to coding Perl
What do I mean?
well I often see code like
What I prefer to see/write iswhile (cond1) { if (cond2) { statement; if (cond3) { statement; statement; for (range) { something; something; something; } } } else { last; } }
while (cond1) { last unless (cond2); statement next unless (cond3); statement statement for (range) { something something something } }
Dingus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A guide to coding Perl
by rir (Vicar) on Dec 12, 2002 at 02:57 UTC |