in reply to Re: variable subroutine callin thread variable subroutine call
I think this is much clearer as:
if (my $sub_ref = ECHO_MODULE->can($subname) ) { $sub_ref->(); } ... [download]
Be careful mixing up methods and functions.