in reply to IO::Handle->getline() partial reads from pipe
Have you tried any diagnostics? Check $! after getline? Interrupts shouldn't be the issue (Using Perl's readline...).
Are you sure the problem is not on the *sending* side? How do you write the line? If syswrite, did you check return value? If print, did you set autoflush? Do you close the pipe?
|
---|
In Section
Seekers of Perl Wisdom