Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2024-04-19 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found