in reply to Re: perl dying without a trace
in thread perl dying without a trace
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 Section
Seekers of Perl Wisdom