The HTML::Template module attempts to make using HTML templates simple and natural. It extends standard HTML with a few new tags for variables, loops, if/else blocks and includes. A file written with HTML and these new tags is called a template. Using this module you fill in the values for the variables and loops declared in the template. This allows you to seperate design (the HTML) from the data, which you generate in the Perl script. While there are many other HTML template systems available, this module is simple and fast. It doesn't try to reinvent Perl CGI, it just augments HTML with a few new and very useful abilities.
| Tags | Internet Web Dynamic Content CGI Tools/Libraries Software Development Libraries |
|---|---|
| Licenses | Artistic GPL |
| Operating Systems | OS Independent |
| Implementation | Perl |
Recent releases


Release Notes: A new option was added to enforce Taint mode for unescaped variables. Several long-standing bugs were fixed. The enhanced tests produced by the Phalanx project are now part of the module.


Release Notes: This release fixes a number of small bugs and adds a new option called default_escape.


Release Notes: This release includes a new escape mode for variables used in Javascript. Several bugs are now fixed.


Release Notes: A new __counter__ variable for loop_context_vars, a new default attribute for tmpl_var tags, bugfixes, and documentation fixes.


Release Notes: Bugfixes, documentation cleanups, and a new project Web site.