in reply to Re^3: How to know function name and package from its ref?
in thread How to know function name and package from its ref?

What makes you think that? Got an electric shock as soon as you typed the code and another one when you ran it?

Um...

perl -Mthreads -Mthreads::shared -E"my $shared :shared = sub { say 'te +st' };" Invalid value for shared scalar at -e line 1.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"