in reply to How do I handle mid-line carriage returns in a flatfile database?
This will strip every carriage return from $entry. Alternatively, you may wish to replace carriage returns with spaces (so that you don't get words running together):$entry =~ tr/\r//d;
I'd recommend the latter.$entry =~ tr/\r/ /;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Answer: How do I handle mid-line carriage returns in a flatfile database?
by Sol-Invictus (Scribe) on Feb 06, 2004 at 14:12 UTC |