while (<FILE>) { s/\r?\n$//; # If there is no \r, so what? # Random code } [download]
In reply to Re: Unix and Windows CRLF vs LF by cdarke in thread Unix and Windows CRLF vs LF by SavannahLion