XP is just a number | |
PerlMonks |
Re^3: buffering when reading from unnamed pipe with child processby perlfan (Vicar) |
on Nov 20, 2020 at 19:42 UTC ( [id://11123923]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|