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


in reply to Re^4: crlf layer working on diamond operator, but not filehandle reads
in thread crlf layer working on diamond operator, but not filehandle reads

I don't know how cygwin (which emulates a system that uses CRLF line endings) interacts with the rest of the system (which uses CRLF line endings). It is definitely a likely cause. My guess: It placed \r\r\n in the .csv.