How do I remove all whitespace from a text file using perl?

Steven

New member
I have a data file with lines of 100 characters per line. I want all of these characters on one line (without the whitespace between the lines). How can I write a program with perl to do this?
 
Back
Top