perldoc > Template::Manual

πŸ“– NAME

Template::Manual β€” Template Toolkit User Manual

πŸš€ Quick Reference

Use Case Command / Directive Description
Load and process templates use Template;
my $tt = Template->new();
$tt->process('file.tt', \%vars);
Create a Template object and process a template file with variables.
Include another template [% INCLUDE 'header.tt' %] Insert the content of another template at the current position.
Iterate over a list [% FOREACH item IN items %] … [% END %] Loop through a list or array, assigning each element to a variable.
Apply a filter [% FILTER upper %]text[% END %] Transform output using built‑in or custom filters (e.g., uppercase).
Use a plugin [% USE Date %]
Today is [% Date.format %]
Load a plugin (e.g., Date) and call its methods from templates.

πŸ“š Template Toolkit Manual

The Template Toolkit manual contains documentation on using and extending the Template Toolkit.

Template::Manual
πŸ“– NAME πŸš€ Quick Reference πŸ“š Template Toolkit Manual

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-23 00:51 @216.73.216.102
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!