wok annotate perl-text-template/description.txt @ rev 24618
updated gphoto2 (2.5.23 -> 2.5.28)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 09:50:09 2022 +0100 (2022-03-07) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@24262 | 1 This is a library for generating form letters, building HTML pages, |
Hans-G?nter@24262 | 2 or filling in templates generally. |
Hans-G?nter@24262 | 3 A "template" is a piece of text that has little Perl programs embedded |
Hans-G?nter@24262 | 4 in it here and there. |
Hans-G?nter@24262 | 5 When you "fill in" a template, you evaluate the little programs and |
Hans-G?nter@24262 | 6 replace them with their values. |
Hans-G?nter@24262 | 7 |
Hans-G?nter@24262 | 8 You can store a template in a file outside your program. |
Hans-G?nter@24262 | 9 People can modify the template without modifying the program. |
Hans-G?nter@24262 | 10 You can separate the formatting details from the main code, and put |
Hans-G?nter@24262 | 11 the formatting parts of the program into the template. |
Hans-G?nter@24262 | 12 That prevents code bloat and encourages functional separation. |