Socket select in Perl
DavidSmith at byu.net
Thu Feb 17 17:08:27 MST 2005
<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
>> 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.
More information about the PLUG