in reply to Breaking out of an 'if'
if ($some_condition){{ &some_stuff(); last if $another_condition; &some_more_stuff; }}
... though I don't tend to use this since I find the extra braces to be too subtle when rereading the code (i.e. someone, ok me, removes them since they look redundant which then changes the sematics of the surrounding code).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Breaking out of an 'if'
by thor (Priest) on Apr 14, 2005 at 23:29 UTC | |
by bluto (Curate) on Apr 15, 2005 at 15:33 UTC |