in reply to Re: HTML::Template-2 on one
in thread HTML::Template-2 on one

You have code duplication :) I'd do the same in this way:

<!-- in template.tmpl --> <TMPL_LOOP TABLE1_DATA> <TMPL_INCLUDE table.tmpl> </TMPL_LOOP> <TMPL_LOOP TABLE2_DATA> <TMPL_INCLUDE table.tmpl> </TMPL_LOOP>
<!-- in table.tmpl --> <TR><TD><TMPL_VAR ESCAPE=HTML COLUMN1></TD></TR> <!-- yada yada yada -->