Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpcc05!hpcc01!okamoto From: okamoto@hpcc01.HP.COM (Jeff Okamoto) Newsgroups: comp.lang.perl Subject: What do you do after you've done select(2)? Message-ID: <1180015@hpcc01.HP.COM> Date: 24 Apr 91 18:46:37 GMT Organization: Cha Cha Maru Lines: 10 I have a question about the select(2) emulation in perl. There are plenty of places that explain how to set up for the call to select, using fileno and vec to build the bitmap. What those same examples DON'T provide is a good way to determine which file handle(s) are ready for each operation. One way that I have seen, after going back through the archives is to keep an associative array with the names of the file handles and their fileno() values. What I am wondering is, is there a better way?