good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
What seems to be the trouble? Your code seems to be generating a complete HTML document which I guess you are sending to a browser. The second iteration of the loop will send the same complete HTML document as will subsequent iterations. When the browser receives the HTML document it will process it. From memory, the HTML spec is that everything after the closing </html> should be ignored. This means all of your code's output after the first iteration of your loop. So this could be one reason why your code appears not to get past the first time around the loop. Also, bear in mind that one of the first things you are telling the browser to do is go off somewhere else! It will obey this instruction pretty quickly after it gets the <meta http-equiv="refresh"> command. Once it goes off somewhere else, it won't be loading in anything else you send to it. It strikes me that you want to approach this problem in a different manner... In reply to Re: Doubt about Template Toolkit
by Bod
|
|