use strict; use HTML::Template; my $template = HTML::Template->new(filename => 'main.tmpl'); # Data to feed the _INCLUDE file $template->param( INFO => 'This is working now!', DATA => [ { F_NAME => 'JOHN', L_NAME => 'DOE' }, { F_NAME => 'MARY', L_NAME => 'ANN' }, ], ); # Fill in some more parameters into the main tmpl file $template->param( TITLE => 'Prototyping, ); # Template output print $q->header, $template->output; ############################### main.tmpl TMPL




############################## test_include.pmpl

Name:
Last: