(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".$sig{__DIE__} = sub { add_log(shift) };
In reply to Re^4: a question on threads
by thcsoft
in thread a question on threads
by thcsoft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |