in reply to Re: buffering when reading from unnamed pipe with child process
in thread buffering when reading from unnamed pipe with child process

Greatly appreciated, thank you.

  • Comment on Re^2: buffering when reading from unnamed pipe with child process

Replies are listed 'Best First'.
Re^3: buffering when reading from unnamed pipe with child process
by perlfan (Parson) on Nov 20, 2020 at 19:42 UTC
    I have found setting autoflush in the parent via $|++; also helps; but using the pipe interface directly it also makes sense to do it this way. My recommendation in addition to the explicit flush is to set autoflush in the parent.