http://www.perlmonks.org?node_id=884994


in reply to TMPL LOOP question

Based on what I am reading here in HTML::Template Tutorial under Example 3, I think you are going to need to ensure that you are not getting duplicates while generating the array of hashes that gets passed to the loop. I don't see how the TMPL_LOOP combined with a conditional would allow you to do this in the template itself.

I could of course be wrong, and would be happy to have anyone point it out if I am.

  • ...the majority is always wrong, and always the last to know about it...
  • The Spice must flow...
  • ..by my will, and by will alone.. I set my mind in motion