Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!uvaarpa!mmdf From: worley@compass.com (Dale Worley) Newsgroups: comp.lang.perl Subject: pipe to sort and back Message-ID: <1990Aug29.165445.19825@uvaarpa.Virginia.EDU> Date: 29 Aug 90 16:54:45 GMT Sender: mmdf@uvaarpa.Virginia.EDU (Uvaarpa Mail System) Reply-To: worley@compass.com Organization: The Internet Lines: 15 X-Name: Herwig Henseler To really write and read independently you have to fork to split the process, and it will look like: You can also use select() to wait on both the input and output sides of the connection at the same time. At least, I *think* it will work -- if select says an output fd is ready, does that guarantee that you can output a reasonable amount to it without blocking? Dale Worley Compass, Inc. worley@compass.com -- Happiness is being famous for your financial ability to indulge in every kind of excess.