Re: Calling a member function using text to specify function name
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Calling a member function using text to specify function name
- From: Colm Sloan <colmsloan@...>
- Date: Mon, 4 Jan 2010 20:17:40 +0000
I tried:
my_class = 'MyClass'
my_fun = 'MyFunction01'
_G[my_class][my_function]()
Worked perfectly. Thank you both very much for your input :)