Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Can HTML::Template do this?

by dragonchild (Archbishop)
on Apr 26, 2004 at 22:59 UTC ( [id://348351]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://348351]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found