Text::EasyTemplate is a simple text template system.
SYNOPSIS
A simple text template system without a lot of complex and unnecessary features present in other existing template systems. It aims at ease of use without the need of setting up lots of configurations or complex frameworks. Ideal for simple applications, it can be used for any type of purpose: web, merge mail, or any other type of text.
Here is an example:
use Text::EasyTemplate;
my $template = Text::EasyTemplate->new("templates_dir/template_file.txt");
my $data = {
VALUE1 => "value",
VALUE2 => 2,
CONDITIONAL => 1,
VALUE3 => localtime()
};
my $string = $template->replace($data);
Product's homepage
Requirements:
· Perl