in reply to
how Sub::Name set anonymous subroutine 's caller to NOT __ANON__ ?
See
->SUPER::hi relies on __PACKAGE__ ? (monkeypatching) Can't locate object method "hi" via package "main::SUPER"
and try
sub { package Donkey;
Comment on
Re: how Sub::Name set anonymous subroutine 's caller to NOT __ANON__ ? (__PACKAGE__)
Download
Code
In Section
Seekers of Perl Wisdom