In other words, please post complete examples (no assembly required) and make sure your code works first (you left out some important curly braces that enable your code to compile).use strict; use warnings; use HTML::Template; my $template = HTML::Template->new(filehandle => \*DATA); $template->param(foo => [ { bar => [{one => 'stuff', two => 'otherstuff'}] }, { bar => [{one => 'stuff2', two => 'otherstuff2'}] } ]); print $template->output; __DATA__ <table> <tmpl_loop foo> <tr> <tmpl_loop bar> <td> <tmpl_var one><br/> <tmpl_var two> </td> </tmpl_loop> </tr> </tmpl_loop> </table>
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to 2Re: Column Count w/ HTML::Template
by jeffa
in thread Column Count w/ HTML::Template
by dejoha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |