No, creating a hash of name => code ref is the normal technique. Do a search for "dispatch table".
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: calling subroutines from variables
by Fletch
in thread calling subroutines from variables
by bman1974
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |