|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Keyword last for loopsby TomDLux (Vicar) |
| on Jan 18, 2012 at 02:19 UTC ( #948460=note: print w/ replies, xml ) | Need Help?? |
|
'last' and 'next' always break the innermost loop, so it's perfectly clear. But it's a lot clearer to read if you use labels ( traditionally ALLCAPS ).
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||