in reply to Looping line-by-line through STDIN before EOF is received
By the way, I changed your $_ to $FH, because it was screwing with the $_ that's the default variable in a loop. I don't know how that didn't mess you up in your code... but it did when I tried it.while (<$FH>) { sleep $time; print; }
|
|---|