Chris Devers wrote:

On Sat, 4 Dec 2004, Felix Li wrote:



It's fairly well known that one should use "open" with an "or die". Is there really any condition where "close" fails, making the "or die" necessary?



Of course!

<reasons>

The 'open ... or die ...' idiom makes debugging *much* easier.




I read the question being asked as "is there ever any reason to use 'close ... or die ...'". Even if I read the question wrong, I am now curious as to what the answer to my interpretation is.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to