pfor (@do_something) { /do_run/ ? do_run() : /do_walk/ ? do_walk() : /do_skip ? do_skip() : next; # ?!? catch none-of-the-above either error or default }
In reply to Re: switch statement for subroutines?
by petral
in thread switch statement for subroutines?
by zupereva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |