http://qs321.pair.com?node_id=1067880


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.