but i recommend using a dispatch table as shown heremy $name = "this"; my $code_ref = main->can($name); $code_ref->(...);
In reply to Re: variable reference to subroutine while "strict"
by tinita
in thread variable reference to subroutine while "strict"
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |