Hope the weekend has gone well for everyone. I just had sent to me some C source files, which are part of a program that I need to implement some code for to bring into the 21st century...The crux of my problem lies in the fact that these files were created on a Windows box in VC++ :( and I don't use Windows. When I open the files in VI I get all these pesky ^M chars at the end of each line. I hate them, so what better use can I put Perl to than to parse these files and remove these forsaken control characters. I'm somewhat new to Perl, and have been unable to do these seemingly basic task. Any thoughts greatly appreciated. I've tried various implementations (without luck) such as: