more useful options | |
PerlMonks |
How does one trap a Broken Pipe (Moved from Q&A)by Russ (Deacon) |
on Dec 07, 2000 at 21:51 UTC ( [id://45551]=perlquestion: print w/replies, xml ) | Need Help?? |
Russ has asked for the wisdom of the Perl Monks concerning the following question:
This post was moved from Categorized Questions and Answers. Please do not vote for this node. It will affect the wrong user. Thank You -- Q&AEditors How do you trap a broken pipe error? For instance the following function reads until an \n is found, however if the client in this case is a browser, and it does not send the \n, but instead hits the stop button , the server dies with Broken Pipe error. Anyone know how to properly trap a broken pipe error?
Back to
Seekers of Perl Wisdom
|
|