Syntactic Confectionery Delight | |
PerlMonks |
Re: How to use 'last' / 'next' commands to exit loop?by borisz (Canon) |
on May 30, 2006 at 17:27 UTC ( [id://552561]=note: print w/replies, xml ) | Need Help?? |
last exit the current loop ( in your case the while loop ).
if you like to exit all loops and continue at with the next entry on the for loop lable that.
Boris
In Section
Seekers of Perl Wisdom
|
|