in reply to Re^4: 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'" [download]
Though it might take a very long time.