What I want to do is to wait until something is available at one of them, but I don't feel like constantly trying to read from them all...
What I'd like to do would be to assign a function to each of the filehandles I have. When a new line was made available at one of them, the corresponding function would be executed with whatever was in the filehandle.
Thoughts, anyone?
In reply to Waiting for multiple filehandles by cog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |