in reply to Re^3: how to get a subroutine name?
in thread how to get a subroutine name?

Sub::Identify?

Still, that's rather a roundabout way to do things.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name