perlfaq nodetype
faq_monk
<P>
Use Text::Wrap (part of the standard perl distribution):
<P>
<PRE> use Text::Wrap;
print wrap("\t", ' ', @paragraphs);
</PRE>
<P>
The paragraphs you give to Text::Wrap should not contain embedded newlines.
Text::Wrap doesn't justify the lines (flush-right).
<P>