in reply to Re: IO::Select and sockets
in thread IO::Select and sockets

The docs say that the return from the select() method is three array refs

From the docs I'm reading:

  select ( READ, WRITE, EXCEPTION [, TIMEOUT ] )

READ, WRITE and EXCEPTION are either undef or IO::Select objects

Replies are listed 'Best First'.
Re^3: IO::Select and sockets
by runrig (Abbot) on Dec 29, 2005 at 18:23 UTC
    Ooops. My mistake. I was reading the next paragraph about the return values and confusing it with the first paragraph about the arguments (update: need coffee). I never have used that method with IO::Select (I see documentation but I don't see it used in Stein's book either)...I usually just use can_read() (which is also what is mostly used in the book).