in reply to IO::Handle->getline() partial reads from pipe
You need at least check "$!". readline/print can be interrupted with signals under 5.14 https://rt.perl.org/Ticket/Display.html?id=119097
In Section
Seekers of Perl Wisdom
in reply to IO::Handle->getline() partial reads from pipe