Try replacing the join line(s) with:
my $val = eval{ $join->join() } or die "Join failed with '$!' : '$^E'" +;
And then report back the error texts.
In reply to Re: PANIC: underlying join failed threded tcp server
by BrowserUk
in thread PANIC: underlying join failed threded tcp server
by rmahin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |