Wouldn't the following suffice?
sub init { my $self = shift; my $coderef = $self->can('do_something'); Callback::do_callback($coderef, $self); }
In reply to Re: Package coderefs
by Tanktalus
in thread Package coderefs
by moot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |