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


in reply to Conversion of unix LF to DOS LF issues

You didn't specify on which system the script is running.

As a bonus, here are more universal versions:

Update: Cleaned up my booboos.

Replies are listed 'Best First'.
Re^2: Conversion of unix LF to DOS LF issues
by master_son (Acolyte) on Feb 02, 2006 at 15:19 UTC
    The first Bonus option worked for me. I tested it on the W2003 system and everything clicked. Thank you.
    ---------------------
    Keep your concentration here and now where it belongs - Qui-Gon Jinn