Problem is that if you try to read from a file which has no new data in it, then the io->getline() function will get blocked
That's not true. It will return end-of-file. Or are you reading from something other than a plain file?
See File::Tail
In reply to Re: selecting from a number of different input sources.
by ikegami
in thread selecting from a number of different input sources.
by jasoncollins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |