in reply to Converting DOS perl to Unix

First, try piping the files through more or less; these strip our Mac CRLFs for me just fine. If that fails, bust open vi, isolate the offending character, and :%s/character//g;