Keep It Simple, Stupid | |
PerlMonks |
Current Perl documentation can be found at perldoc.perl.org.
Here is our local, out-dated (pre-5.6) version:
Use Text::Wrap (part of the standard perl distribution):
use Text::Wrap; print wrap("\t", ' ', @paragraphs);
The paragraphs you give to Text::Wrap should not contain embedded newlines. Text::Wrap doesn't justify the lines (flush-right).