It is a static web site updated up to 4 times a day. Rebuilding all the site maps every time is easier, in my opinion than trying to update them.

Don't quite understand the above sentence. What is the difference between "rebuilding al the site maps every time" and "trying to update them."?

That aside, H::T can do the job for you happily whether you want to dynamically build your site on every hit, or you want to build static versions periodically. Just write to a file in the case of the latter. I do that with a website I've built that doesn't get updated that often.

One generic template page with TMPL_LOOP within TMPL_LOOP will work happily for you. After that you can muck around with the physical looks of the page as you please.

I like H::T for its sheer simplicity, and very little provision for logic on the display side. That helps enforce a clear MVC separation. With a little bit of care, you can eliminate all display-side logic.

And, it is very fast.

I have looked at HTML::Template and believe that although it could be used I'm afraid it would be very difficult to maintain.
Any particular reason behind that thinking you want to share?

In reply to Re: Building html site maps by punkish
in thread Building html site maps by wfsp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.