http://www.perlmonks.org?node_id=1006079


in reply to Re: LWP is not SIGPIPE safe?
in thread LWP is not SIGPIPE safe?

In HTTP::Tiny example "local $SIG{PIPE}" used, so it handles only sigpipe emitted from the block where it was installed.
May be lwp's syswrite is safe. But I want to know reason why it is safe. For example: syswrite() can't fail if it was called immediately after socket opening and data length for write is small enough.