{ # localize the lack of B&D no strict 'refs'; foreach my $sub (@do_something) { $sub->() } }
In reply to Re: switch statement for subroutines?
by bikeNomad
in thread switch statement for subroutines?
by zupereva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |