See my response to diatolevi. You have to add a SIGPIPE handler to your code.
Mine is as simple as:
$SIG{PIPE} = sub { print STDERR "SIGPIPE @_\n"; };
Which basically just ignores the SIGPIPE and leaves it to you to handle the error after the syswrite
In reply to Re^2: perl dying without a trace
by Crackers2
in thread perl dying without a trace
by Crackers2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |