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


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