in reply to How to make interprocess pipe blocking?

Maybe you're looking for autoflush?
{ my $h = select(KID_TO_WRITE); $|=1; select($h); }