I think you want to use four-argument select, or else the more housebroken IO::Select. Those can be used to sleep until some file handle from a set you watch is readable.
After Compline,
Zaxo
In reply to Re: Reading multiple files at the same time
by Zaxo
in thread Reading multiple files at the same time
by bagu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |