File::LocalizeNewlines

Localize the newlines for one or more files
Download

File::LocalizeNewlines Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Adam Kennedy
  • Publisher web site:
  • http://search.cpan.org/~adamk/

File::LocalizeNewlines Tags


File::LocalizeNewlines Description

Localize the newlines for one or more files For people that routinely work with a mixture of different platforms that have conflicting newline formats (mainly *NIX and Win32) there are a number of different situations that can result in files having their newlines get corrupted.File::LocalizeNewlines is a Perl module that provides a mechanism for one off or bulk detection and conversion of these files to the newline style for the local platform.The module implements the conversion using a standard "universal line seperator" regex, which ensures that files with any of the different newlines, plus a couple of common "broken" newlines, including multiple different types mixed in the same file, are all converted to the local platform's newline style. Requirements: · Perl


File::LocalizeNewlines Related Software