in reply to Column Count w/ HTML::Template
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
2Re: Column Count w/ HTML::Template
by jeffa (Bishop) on Nov 02, 2003 at 14:43 UTC |