I haven't used HTML::Template (alt.), but it looks like the HTML::Template::Expr (alt.) extension provides the functionality you want...
<table><tr> <TMPL_LOOP NAME="PICTURES"> <td><TMPL_VAR NAME="NAME"></td> <TMPL_UNLESS EXPR="ID % 3"> </tr><tr> </TMPL_UNLESS> </TMPL_LOOP> </tr></table>
Update: Simplified (and tested ;)) the template.
--k.
In reply to Re: Grouping multiple records in a row...templating ?
by Kanji
in thread Grouping multiple records in a row...templating ?
by S_Shrum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |