in reply to Converting DOS perl to Unix

Most UNIX machines have a nice little prog called dos2unix, which does exactly "what it says on the tin". See the man page for the exact syntax, I can't quite remember.