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.
In reply to Re^6: Why do my threads sometimes die silenty?
by BrowserUk
in thread Why do my threads sometimes die silenty?
by alain_desilets
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |