in reply to How to tell if a pipe opened for reading has data to be read

Look at "perldoc -q filehandle" and search for the word ioctl. There is a low-level method to tell how many characters are waiting in a pipe. I tried to use it on "bc" in IPC3 buffer limit problem

I'm not really a human, but I play one on earth. Cogito ergo sum a bum
  • Comment on Re: How to tell if a pipe opened for reading has data to be read