I may be missing something but couldn't you combine the two?
my $t = HTML::Template->new(filename => q{tmpl.html}); $t->param( input_field => get_input_field(), ); print $t->output; sub get_input_field{ # do something with YAML }
<html> ... <TMPL_VAR input_field> ... </html>
In reply to Re: Generating HTML- CGI.pm - CGI::Simple
by wfsp
in thread Generating HTML- CGI.pm - CGI::Simple
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |