in reply to Re^4: Problem with IO::Select
in thread Problem with IO::Select
"can_read" really means "trying to read won't block", which means that end-of-file will cause can_read to keep returning "true" forever. That might be your problem.
You need to detect end-of-file and then (probably) close the socket and stop asking if you can read from it.
- tye
|
|---|