<quote who="Hans Fugal">
> On Thu, 17 Feb 2005 at 16:58 -0700, David Smith wrote:
>> Perl's built-in select() function doesn't quite look like what I want. I
>> think IO::Select may be the trick, but it seems like overkill when I
>> just
>> have one socket (and not a set of handles to multiplex). Can anyone shed
>> light on this struggling Perlmonk wannabe?
>
> Isn't that the C way too though? Don't you have to set up the FDSETs and
> all that even if you're only selecting on one fd?

Yes, you are correct. I have a nice Socket library in C++ that abstracts
that so all I have to call is socket->Select( timeout ). I was hoping for
something similar in Perl.

--Dave
.===================================.
| This has been a P.L.U.G. mailing. |
|      Don't Fear the Penguin.      |
|  IRC: #utah at irc.freenode.net   |
`==================================='

Reply via email to