in reply to Re^3: a question on threads
in thread a question on threads

at least $SIG{__DIE__} works in threads. if you install a hook for it, for instance a logger, like:
$sig{__DIE__} = sub { add_log(shift) };
(with add_log being the sub that prints out messages to a logfile), this hook will be recognized even from within a thread. you then get the original error message plus a "thread was unable to start".

language is a virus from outer space.