wok diff perl-text-template/description.txt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-text-template/description.txt Thu May 12 11:01:25 2022 +0000 1.3 @@ -0,0 +1,12 @@ 1.4 +This is a library for generating form letters, building HTML pages, 1.5 +or filling in templates generally. 1.6 +A "template" is a piece of text that has little Perl programs embedded 1.7 +in it here and there. 1.8 +When you "fill in" a template, you evaluate the little programs and 1.9 +replace them with their values. 1.10 + 1.11 +You can store a template in a file outside your program. 1.12 +People can modify the template without modifying the program. 1.13 +You can separate the formatting details from the main code, and put 1.14 +the formatting parts of the program into the template. 1.15 +That prevents code bloat and encourages functional separation.