You'll often need multiple templates anyway, irrespective of whether you use frames or not - its generally a lot cleaner to have a bunch of small templates that you put together (header, footer etc) than use a big HTML::Template with lots of 'if's etc. - nicer on your HTML people too :)

Generally in this situation, where there are multiple frames updating at different times, I prefer to use a single script/Template combination for each frame - main.cgi, menu.cgi, info-frame.cgi etc.
One thing you might consider is <iframe>, which is pretty well supported now and can clean up your layout considerably - much nicer than using DHTML (which should never be implemented using *shudder* 'LAYER' btw - but that's a whole other can-o-worms...).

Cheers,
Ben

In reply to Re: HTML::Template and frames by benn
in thread HTML::Template and frames by awkmonk

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.