my $coderef=__PACKAGE__->can($subname) or die "$subname not found"; $coderef->(...); [download]
In reply to Re: subroutine refs by Anonymous Monk in thread subroutine refs by CColin