in reply to Re^5: Why do my threads sometimes die silenty?
in thread Why do my threads sometimes die silenty?

It looks like that might do the trick:

perl -Mthreads -E"AUTOLOAD{ &{ $_[0] } }; async{ fred(); }->join; say +'done'"

Though it might take a very long time.


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.