in reply to Re: Strange read file behaviour
in thread Strange read file behaviour

and chomp on Unix will only remove the <LF>

This is correct, but the "on Unix" kind of implies that this would be different on Windows — which it isn't.  On Windows it also only removes a linefeed.  But that's ok, as on Windows the crlf layer has already translated the \r\n to \n while reading in the line.