Socket select in Perl

Hans Fugal hans at fugal.net
Thu Feb 17 17:02:11 MST 2005


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?


-- 
 .O.  Hans Fugal            | De gustibus non disputandum est.
 ..O  http://hans.fugal.net | Debian, vim, mutt, ruby, text, gpg
 OOO                        | WindowMaker, gaim, UTF-8, RISC, JS Bach
---------------------------------------------------------------------
GnuPG Fingerprint: 6940 87C5 6610 567F 1E95  CB5E FC98 E8CD E0AA D460
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20050217/b1833f1c/attachment.bin 


More information about the PLUG mailing list