in reply to Template Toolkit "Pre-Processor"

You can process the template and then save the resulting page wherever you want. Either giving it default values or not. Consider:

use Template; my $template = Template->new({ INCLUDE_PATH => $template_path, }) || die $!; my %vars = (); my $pre_processed_template = ''; # this will get you the processed template $template->process('master_template.html', \%vars, \$pre_processed_tem +plate); # now you can save the processed page with the contents of $pre_proces +sed_template.