in reply to how to get alias name of anonymous sub?
I think you can't without explicitly and redundantly attaching this name somewhere else.
What's possible is to change the name of the original sub, such that __ANON__ wouldn't be shown.
Of course with eval you could also copy identical subs to main::aa and main::bb, but then you won't have aliases anymore.
Cheers Rolf
|
|---|