in reply to Word wrap

Text::Wrap doesn't always work right. I wrote Text::Correct so you might want to use that. It's at search.cpan.org