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.
In reply to Re^4: How to know function name and package from its ref?
by BrowserUk
in thread How to know function name and package from its ref?
by llancet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |