Build a small wrapper function.
my $self = ...; $dispatch{status_form} = sub { $self->status_form(@_) };
If I'm out to lunch, feel free to tell me that as well.
Not at all. Callbacks are frequently done this way in Perl.
In reply to Re: Old Code reference wants new life as Object.
by ikegami
in thread Old Code reference wants new life as Object.
by Devanchya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |