$object->$method( @args );
$method can be a string (method name) or a coderef.
It can also be an overloaded object though, in which case it is stringified, not coderefified.
In reply to Re^3: How can I call a Perl sub with an object from a sub name stored in a var?
by tobyink
in thread How can I call a Perl sub with an object from a sub name stored in a var?
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |