Welcome to the Monastery, previous!
$self->{sub_ref}->(); should do what I think you want. It simply executes the sub from within the object instead of first assigning it to a temporary coderef. Unless you need to pass the method around, this is the common way to do this.
In reply to Re: call external sub ref from method in single line
by stevieb
in thread call external sub ref from method in single line
by previous
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |