https://www.nntp.perl.org/group/perl.perl6.users/2017/03/msg3423.html
On 2018-05-22 06:04:47 GMT, ToddAndMargo wrote: > Hi All, > > I need to know the name of the subroutine I am in. > > This is the way I use to do it in Perl 5: > > (my $Name = (caller(0))[3] ) ~~ s{.*::}{}; > > How do I do it in Perl 6? > > Many thanks, > -T