JeremySWITCH: { do_run() last SWITCH if $_ eq "do_run"; do_walk() last SWITCH if $_ eq "do_walk"; do_skip() last SWITCH if $_ eq "do_skip"; }
In reply to Re: switch statement for subroutines?
by enoch
in thread switch statement for subroutines?
by zupereva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |