in reply to Stupid IO::select question

Disclaimer: I haven't actually tried this.

But, you might want to try a has_exception() call to see if there's an error condition on the socket(s) before printing to it (them).

Alan