Hi Alan, On Mon, 22 Aug 2011 14:43:48 +0530 Alan Haggai Alavi <alanhag...@alanhaggai.org> wrote:
> Hello Shlomi, > > > It's a good idea to always use "last LABEL;" instead of "last;" (as well as > > "next LABEL;" etc. in case more loops are added in between. > > ⋮ > > http://perl-begin.org/tutorials/bad-elements/#flow-stmts-without-labels > > Now I understand why it is always good to label loops that use `last`, `next` > or `redo`. > > Thank you. :-) > Nice. And you're welcome. For more insights like this, read the rest of the http://perl-begin.org/tutorials/bad-elements/ page, and also the book Perl Best Practices by Damian Conway, from which I borrowed a lot of advice. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Understand what Open Source is - http://shlom.in/oss-fs Xena the warrior princess can meet King David for breakfast and Julius Caesar for lunch. Without time travel. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/