artist has asked for the wisdom of the Perl Monks concerning the following question:
I am looking for ways to fully justify the text, given the number of lines. Thus text should be left justified and right justified. The number of spaces should be adjusted accordingly in such a way I don't see 'big' gaps between words. So I am looking for something similar as Text::Format, but more as I supply the number of lines.
Example:
I like this site which help me to learn perl moreNumber of lines: 2
I like this site which help me to learn perl moreThank you for your insight.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Text Formatting
by theorbtwo (Prior) on Dec 22, 2002 at 04:26 UTC | |
by artist (Parson) on Dec 22, 2002 at 04:47 UTC | |
by poj (Abbot) on Dec 22, 2002 at 18:54 UTC |