./textproc/p5-Text-Template, Perl5 library for generating form letters

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2017Q4, Version: 1.47nb1, Package name: p5-Text-Template-1.47nb1, 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]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: aac45133d5ea51e5b611a788bb44979d4bcd8e92
RMD160: bd94acf826da1f32ae75865e1b03f9f1cced0e52
Filesize: 47.84 KB

Version history: (Expand)