I have an Assoc with associated function names to an object type:
functionList = Assoc{
'type1': Assoc{
'method1': 'method1ForType1'
'method2': 'method2ForType1'
}
}
How can I call some function with a name generated from a variable based on the functionList?
I need something like:
funcName = functionList[objType]['method1']
.(funcName)() <-- here is the function call which I need