in reply to Reading partial lines/strings from a pipe
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.
.desrever si txet eritne ehT
.backwards are (letters the not but) words the Only
ehT sdrow era ni redro, tub eht srettel era eht rehto yaw.
Who ndees baacdkrws wehn you have Tceilmopgyya?
?wdors reeersvd up meixd about How
.tusnnmihep rof nuttolg a m'I
Results (441 votes). Check out past polls.