in reply to Re^2: Detecting Timeout of piped data
in thread Detecting Timeout of piped data
Shouldn't the chomp between the read and the check remove the \n thereby making $inLine eq ''?
What I believe ( and certainly could be wrong ) is that the script is just sitting and waiting at $inLine = <>; without ever recieving anything, and so never gets to any of the code that follows except when there is input. I think what I am looking for is something like the <> but with a configurable timeout period.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Detecting Timeout of piped data
by Anonymous Monk on Aug 01, 2011 at 05:55 UTC | |
by Anonymous Monk on Aug 01, 2011 at 05:57 UTC | |
|
Re^4: Detecting Timeout of piped data
by Anonymous Monk on Aug 01, 2011 at 06:04 UTC |