in reply to Re: Problems with IO::Select
in thread Problems with IO::Select

Thanks for the info. Putting print $! directly after the while statement produced nothing, so I added an END block to the code and put print $! in it. The only thing printed was "Interrupted System Call" which still leaves me not knowing what the heck is going on with it, but hopefully tells one of you gurus what I'm doing wrong.

Replies are listed 'Best First'.
Re^3: Problems with IO::Select
by ikegami (Patriarch) on Jul 02, 2006 at 19:03 UTC

    That message is from something that happened between the while and the END — possibly something internal — not something from the select.

    That $! is blank seems to indicate the select succeeded (for some definition of succeeded), or $r wasn't defined.

    I personally don't know anything about *unix* sockets. Maybe they are different from IP sockets in some important manner for select. I don't think I'll be of any more use to you.