in reply to Converting DOS perl to Unix
In many cases FTPing the file in ASCII mode will handle the CR/LF conversion for you.