in reply to Re^2: IO::Handle->getline() partial reads from pipe
in thread IO::Handle->getline() partial reads from pipe

And did you test printflush() return value? The print, printflush, flush, close methods all return true for success.
  • Comment on Re^3: IO::Handle->getline() partial reads from pipe