So, how about the case where you have a partial method name in the scalar instead such as wanting to access $obj->set_foo but $method only has 'foo' in it? I'm guessing you're stuck with the eval method this time?
In reply to Re^2: How to access an object method when method name is stored in scalar variable
by tj_thompson
in thread How to access an object method when method name is stored in scalar variable
by tj_thompson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |