Path to this page:
./
textproc/p5-Text-Template,
Perl5 library for generating form letters
Branch: CURRENT,
Version: 1.61nb1,
Package name: p5-Text-Template-1.61nb1,
Maintainer: pkgsrc-users This is a library for generating form letters, building HTML pages,
or filling in templates generally. A `template' is a piece of text
that has little Perl programs embedded in it here and there. When
you `fill in' a template, you evaluate the little programs and
replace them with their values. Here's an example of a template:
Dear {$title} {$lastname},
It has come to our attention that you are delinquent in your
{$monthname[$last_paid_month]} payment. Please remit
${sprintf("%.2f", $amount)} immediately, or your patellae may
be needlessly endangered.
The result of filling in this template is a string, which might look
something like this:
Dear Mr. Gates,
It has come to our attention that you are delinquent in your
February payment. Please remit
$392.12 immediately, or your patellae may
be needlessly endangered.
Required to run:[
lang/perl5]
Master sites: (Expand)
Filesize: 49.239 KB
Version history: (Expand)
- (2023-07-06) Updated to version: p5-Text-Template-1.61nb1
- (2023-07-04) Updated to version: p5-Text-Template-1.61
- (2022-06-28) Updated to version: p5-Text-Template-1.60nb1
- (2021-10-30) Updated to version: p5-Text-Template-1.60
- (2021-05-25) Updated to version: p5-Text-Template-1.59nb1
- (2020-09-07) Updated to version: p5-Text-Template-1.59
CVS history: (Expand)