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.
In reply to Re^3: Detecting Timeout of piped data
by sriordan
in thread Detecting Timeout of piped data
by sriordan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |