Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

HTML::Template nested loops

by mhearse (Hermit)
on Jul 12, 2012 at 21:33 UTC ( #981505=perlquestion: print w/ replies, xml ) Need Help??
mhearse has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to determine the data structure that would populate this template. Can someone help?
<h3>Checkout related URLs</h3> <table border="0"> <tr> <th>Code</th> <th>Count</th> <th>URL</th> </tr> <TMPL_LOOP NAME=CHECKOUT_RELATED_URLS> <tr> <td><TMP_VAR NAME=HTTP_CODE></td> <td><TMP_VAR NAME=HTTP_CODE_COUNT></td> <td><TMPL_VAR NAME=URL></td> </tr> <TMPL_LOOP NAME=CHECKOUT_RELATED_URLS_REFERRER> <tr> <td><b>REFERRER</b></td> <td><TMPL_VAR NAME=REFERRER_COUNT></td> <td><TMPL_VAR NAME=REFERRER_URL></td> </tr> </TMPL_LOOP> </TMPL_LOOP> </table>

Comment on HTML::Template nested loops
Download Code
Re: HTML::Template nested loops
by linuxkid (Sexton) on Jul 12, 2012 at 23:59 UTC

    have you considered the Template ToolKit?

    --linuxkid


    imrunningoutofideas.co.cc
Re: HTML::Template nested loops
by Anonymous Monk on Jul 13, 2012 at 15:04 UTC
      Indeed it does. Thank you.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://981505]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (15)
As of 2014-09-30 14:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (373 votes), past polls