How do I reformat a paragraph?
Use Text::Wrap (part of the standard perl distribution):
use Text::Wrap; print wrap("\t", ' ', @paragraphs);
Back to
How do I expand tabs in a string?
Forward to
How can I access/change the first N letters of a string?
Up to
the perlfaq4 manpage