{ last unless $foo > 7; bar_func($foo),last if $bar; # Or... $bar and do { bar_func($foo); last }; baz_func($foo), last if $baz; }
In reply to Re: (Ovid - Why I love nested If-Else blocks)
by runrig
in thread Why I Hate Nested If-Else blocks
by jeffa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |