|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Breaking out of an 'if'by ambrus (Abbot) |
| on Apr 14, 2005 at 15:31 UTC ( [id://447927]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You can try this.
The return statment can also be a useful shortcut in many cases when you want to do a non-local exit. (The return statement returns from the innermost sub, whether named or anonymous.)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||