Template::Tutorial::Web is a Perl module for generating web content using the template toolkit.
This tutorial document provides a introduction to the Template Toolkit and demonstrates some of the typical ways it may be used for generating web content. It covers the generation of static pages from templates using the tpage and ttree scripts and then goes on to show dynamic content generation using CGI scripts and Apache/mod_perl handlers.
Various features of the Template Toolkit are introduced and described briefly and explained by use of example. For further information, see Template, Template::Manual and the various sections within it. e.g.
perldoc Template # Template.pm module usage
perldoc Template::Manual # index to manual
perldoc Template::Manual::Config # e.g. configuration options
The documentation is now also distributed in HTML format (or rather, in the form of HTML templates). See the 'docs' sub-directory of the distribution for further information on building the HTML documentation.
If you're already reading this as part of the HTML documentation, then you don't need to worry about all that. You can have a seat, sit back. back and enjoy the rest of the tutorial...