http://www.perlmonks.org?node_id=853049


in reply to Unix vs Windows Text File Format

run dos2unix on it.

This will change the line-endings. Maybe your text editor also provides this functionality (e.g. UltraEdit does)

Cheers

si_lence