summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Template/DESCR
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-10-31 22:52:58 +0000
committerzuntum <zuntum>2001-10-31 22:52:58 +0000
commitec263708b4436f2f6fe8ff2c5ddd38bc49dbd322 (patch)
treeb3c17888184b1b17ed1b1fa28f1697197bb0b4f6 /textproc/p5-Text-Template/DESCR
parent26e767802169bc1a013a3a64740d0a84afa59755 (diff)
downloadpkgsrc-ec263708b4436f2f6fe8ff2c5ddd38bc49dbd322.tar.gz
Move pkg/ files into package's toplevel directory
Diffstat (limited to 'textproc/p5-Text-Template/DESCR')
-rw-r--r--textproc/p5-Text-Template/DESCR23
1 files changed, 23 insertions, 0 deletions
diff --git a/textproc/p5-Text-Template/DESCR b/textproc/p5-Text-Template/DESCR
new file mode 100644
index 00000000000..87fb3eb56ec
--- /dev/null
+++ b/textproc/p5-Text-Template/DESCR
@@ -0,0 +1,23 @@
+ 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.