Re: authorial perlipc edit

[email protected] (Tom Christiansen) Tue, 09 Nov 2010 19:58:43 -0700
Newsgroups perl.perl5.porters,perl.documentation
Message-ID <9570.1289357923@chthon>
> I agree with you in theory, but in practice I think it doesn't matter
> most of the time: most of the time people don't check the return
> values of their print() calls, making the point of checking close() a
> bit moot IMHO. 

It is neither necessary nor sufficient to check the return value 
from print to detect an error in print.

> Also, closing a valid read-only filedescriptor can't
> even generate an error AFAIK.

Certainly it can!!

--tom