in reply to Re: question on getting SIGPIPE in close
in thread question on getting SIGPIPE in close
I.e. it appears perl is checking the value of close and putting out the error whether I want it or not. Trying to stop the error with a 'no warnings' just before the final close doesn't silence the message. Only by disabling STDERR and redirecting to to /dev/null (cygwin) then restoring it do I effectively silence the message.
While I don't disagree with the idea of checking 'close' for errors (and usually do so). It would be nice to be able to tell perl not to warn me about problems there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: question on getting SIGPIPE in close
by jcb (Parson) on May 01, 2020 at 01:30 UTC | |
by perl-diddler (Chaplain) on May 01, 2020 at 02:47 UTC | |
by jcb (Parson) on May 02, 2020 at 03:21 UTC |