in reply to Unexpected results using Text::Correct and MIME::Lite
Then I actually downloaded Text::Correct, and got the proper behavior in my testing. So, now I have a third theory:
The text you are wrapping probably has "\r\n" line endings (since it comes from CGI data), which Text::Correct doesn't account for. Try deleting the \r characters from the text before you wrap it:
I hope that helps!$tp =~ tr/\r//d; $th =~ tr/\r//d;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Unexpected results using Text::Correct and MIME::Lite
by Daddio (Chaplain) on Jul 02, 2001 at 01:24 UTC |