Re: authorial perlipc edit
[email protected] (Leon Timmermans) Wed, 10 Nov 2010 04:28:54 +0100
| Newsgroups | perl.perl5.porters,perl.documentation |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Nov 10, 2010 at 3:58 AM, Tom Christiansen <[email protected]> wrote: > It is neither necessary nor sufficient to check the return value > from print to detect an error in print. I agree it's not sufficient, but I don't agree it's not necessary. Just imagine a program waiting for a reply to a question that never reached the other side of a pipe. IMO not checking print's return value can cause worse bugs than not checking close because it's much more likely to affect the flow of the program. > Certainly it can!! Enlighten me :-) Leon