print $cgi->header( -content_type => "text/html", -charset=>"utf-8" ), $template->output;