Welcome to the Monastery | |
PerlMonks |
Re: Use of 'last' within single-line while loopsby hdb (Monsignor) |
on Mar 21, 2018 at 08:37 UTC ( [id://1211399]=note: print w/replies, xml ) | Need Help?? |
In my humble opinion I would suggest the use of labels with last and next in the case of nested loops to make sure the reader of the code (if not the Perl interpreter) is not confused about the intended logic.
In Section
Seekers of Perl Wisdom
|
|