http://qs1969.pair.com?node_id=1118321


in reply to How to determine type of line endings in a text file from within a script

line endings, line endings newline, newline ->
PerlIO::eol - PerlIO layer for normalizing line endings
eol - Simple script to convert newline endings; uses the EOL.pm module.
EOL - This module aids in the conversion of text file newline characters within the context of other perl code; includes command line executable.
Test::EOL - Check the correct line endings in your project
PerlIO::unicodeeol - PerlIO layer for normalizing line endings from \R to \n
Encode::Newlines - Normalize line ending sequences
File::LocalizeNewlines - Localize the newlines for one or more files