http://qs321.pair.com?node_id=6510

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm using a flat file database and getting problems when carriage returns (asc 0x0D) occur in the middle of lines. This happens, for example, when the text comes from a web form TEXTAREA field. How can I strip such carriage return characters from a string?