in reply to Re: Finding the name of the target of a coderef
in thread Finding the name of the target of a coderef
AFAIK there's no way to do this. Any takers?sub foo { # do groovy things here } my $coderef = \&foo; my $method_name = mythical_coderef_name_fetcher($coderef); print $method_name; # output is 'foo'
|
|---|