for the there_is_something_to_read functionality you're looking for, have a look at select (second form) and IO::Select. Note that when you're using these, you need to use sysread to get your data.
In reply to Re: Reading partial lines/strings from a pipe
by kyle
in thread Reading partial lines/strings from a pipe
by slightly72
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |