How do I stop Eclipse (EPIC Perl) from adding DOS CR/LF to my Perl scripts?

Alex R picture Alex R · Dec 12, 2009 · Viewed 14.1k times · Source

I use Eclipse on Windows to edit files on a remotely mounted Linux SMB share.

Coupled with Samba's stubborn opposition to on-the-fly mapping, Eclipse's insistence on CR/LF creates a real headache with Perl scripts.

Any workarounds?

Answer

mob picture mob · Dec 12, 2009

In Eclipse, the end-of-line sequence setting can be found under Window > Preferences > General > Workspace > "New text file line delimiter".