wok-6.x annotate perl-text-template/description.txt @ rev 24429
updated collectd (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 15:50:46 2022 +0100 (2022-02-12) |
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. |