http://www.perlmonks.org?node_id=582049


in reply to IO::Handle read error description?

Have you tried printing the $! variable after the getline() call?

-- Hofmator

Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.