To call it as an instance method as above, you'd have to $action->{doit}->( $object, ... )or $object->${\$action->{doit}}(...)
In reply to Re^2: How do I create a reference to an object method?
by ysth
in thread How do I create a reference to an object method?
by skrapasor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |