#!/usr/bin/perl

# import module
use dTemplate;

# create new object
# read template file
$tmpl = dTemplate->new(file => "../htdocs/templates/color.tmpl");

# parse template and replace variables
$output = $tmpl->parse(FAVCOLOR => "indigo");

# print rendered version
print "Content-Type: text/html\n\n";
print $output;