Text::MicroTemplate is a standalone, fast, intelligent, extensible template engine with following features.
SYNOPSIS
use Text::MicroTemplate qw(:all);
# compile template, and render
$renderer = build_mt('hello, < ?= $_[0] ? >');
$html = $renderer->('John')- >as_string;
# or in one line
$html = render_mt('hello, < ?= $_[0] ? >', 'John')- >as_string;
# complex form
$mt = Text::MicroTemplate- >new(
template = > 'hello, < ?= $query- >param('user') ? >',
);
$code = $mt- >code;
$renderer = eval ();
}
...
$html = $renderer- >(CGI- >new)- >as_string;
Product's homepage
Requirements:
· Perl