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


in reply to Testing for read() failures on different platforms

What is your LANG environment variable set to on each platform? RHEL3 sets it to e.g. en_US.utf8 by default. The unicode locale causes lots of new, different, and possibly buggy behavior when reading data from a file.
"Even if you are on the right track, you'll get run over if you just sit there." - Will Rogers