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