in reply to Using a variable value as part of routine name in order to call routine

I think the nicest way to get a sub with a string is to use a dispatch table, a hash of coderefs.

I don't recognise what menu system you're using, so can't give any more specific advice.

After Compline,
Zaxo

  • Comment on Re: Using a variable value as part of routine name in order to call routine