In other words, nest tmpl_loops.<table> <tmpl_loop foo> <tr> <tmpl_loop bar> <td> <tmpl_var one> <tmpl_var two> </td> </tmpl_loop> </tr> </tmpl_loop> </table> <code> <br> <code> $ht=new HTML::Template(); my @data= ( { bar => [one => 'stuff', two => 'otherstuff'] }, { bar => [one => 'stuff2', two => 'otherstuff2'] } ); $ht->params(foo=>[@data]); print $ht->output;
In reply to Re: Column Count w/ HTML::Template
by BUU
in thread Column Count w/ HTML::Template
by dejoha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |