Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by Anonymous Monk
on Mar 01, 2015 at 22:00 UTC ( #1118321=note: print w/replies, xml ) Need Help??


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
  • Comment on Re: How to determine type of line endings in a text file from within a script

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1118321]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2022-08-16 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?