in reply to Can HTML::Template do this?

Have a first and a second and check to see if it exists. I just coded this up today in a results table.
<TMPL_LOOP NAME="RESULTS"> <tr> <td> <TMPL_IF NAME="FIRST"> <TMPL_VAR NAME="FIRST"> <TMPL_ELSE> &nbsp; </TMPL_IF> </td> </tr> <tr> <td> <TMPL_IF NAME="SECOND"> <TMPL_VAR NAME="SECOND"> <TMPL_ELSE> &nbsp; </TMPL_IF> </td> </tr> </TMPL_LOOP>

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose