Thanks in advance for your help.foreach (@do_something) { if $_ = "do_run" call do_run(); if $_ = "do_walk" call do_walk(); if $_ = "do_skip" call do_skip(); }
In reply to switch statement for subroutines? by zupereva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |