... $tt->process( $template->{html}, $tmpl_params, \$html ) or croak $tt->error; print STDERR $html; # <--- ...