⭐ in reply to Can I get a subroutine's name from inside the subroutine?
sub foo { my $this_subs_name = (caller(0))[3]; } [download]