On Sun, 11 May 2008 02:05:06 +0200, Jenda Krynicky wrote: > You do not need the label unless you need to jump out of some other > loop than the innermost. In this case there are no nested loops so it > would probably be better to skip the label.
While I personally program the way you suggest, take note that "Perl Best Practices" says that loops that are explicitly exited should be labelled in all cases (http://www.oreilly.com/catalog/9780596001735/toc.html), so we should not criticize people for following the practice. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/