|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^3: How to escape from sub to beginning of script?by choroba (Prior) |
| on Mar 29, 2012 at 12:52 UTC ( #962378=note: print w/ replies, xml ) | Need Help?? |
|
OK, so add exit to other options :-) Or, use a different variable, e.g. $restart, and set it to 1 only if you want to restart the loop. The loop then becomes Or whatever similar.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||