hesco has asked for the wisdom of the Perl Monks concerning the following question:
Use case #1) I maintain some code which is deployed for multiple clients and reads configuration data based on the url used to access the application. One of its many functions is to send out emails for folks based on what happens on the online forms. Those emails interpolate configuration variables and the paragraphs in the email come out looking ragged and ugly, depending on what client its for and how long a string pulled from the configuration file might be injected into the template text.
Use case #2) I've got a project demanding to be completed which will generate letters (using PDF::API2) on client provided letterhead, ready for printing and mailing. These letters will essentially merge browser supplied data from our web forms with a form letter crafted (and updated from time to time) by my clients, to produce the final personalized letter, ready for printing, signature and mailing.
For both of these purposes I am seeking a module which will make my paragraphs look justified in much the same way which this mapping from my .vimrc file makes my email look good:
Surely I am not the first person to have this need. All leads are appreciated.}jp J {!}fmt -65
-- Hugh Esco
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Seeking module for formatting text for output
by rhesa (Vicar) on Jan 11, 2008 at 00:11 UTC | |
|
Re: Seeking module for formatting text for output
by shmem (Chancellor) on Jan 11, 2008 at 00:28 UTC | |
|
Re: Seeking module for formatting text for output
by perrin (Chancellor) on Jan 11, 2008 at 01:00 UTC | |
|
Re: Seeking module for formatting text for output
by aquarium (Curate) on Jan 11, 2008 at 02:26 UTC | |
|
Re: Seeking module for formatting text for output
by stvn (Monsignor) on Jan 11, 2008 at 05:30 UTC |