wok-current diff perl-text-template/description.txt @ rev 25117
updated pcre2 and pcre2-dev (10.34 -> 10.40)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 25 16:50:46 2022 +0100 (2022-06-25) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-text-template/description.txt Sat Jun 25 16:50:46 2022 +0100 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.