in reply to Calling subroutines based on variable names...
Should you decide to go with dispatch tables (as has been suggested), you may wish to have a look at one of our very fine Tutorials:
Implementing Dispatch Tables
HTH,