in reply to IO::Socket should be readable, but isn't....
Looking at the man page for select on my box reveals that it may return immediately with a timeout of 0. Increase that to the maximum time you wish to wait for data, and you may have better results. That's just a guess.