in reply to \r\n at end of line
- eol
- EOL - This module aids in the conversion of text file newline characters within the context of other perl code; includes command line executable.
- PerlIO::eol - PerlIO layer for normalizing line endings
- Text::FixEOL - Canonicalizes text to a specified EOL/EOF convention, repairing any 'mixed' usages
- s/\s+$//;