Thanks -- I hadn't thought of just using ttree. I should also confess that I don't know whether I need compile-time or run-time templating, as I'm not totally clear on the difference... : )

In the short term, though, I've been obliged to front-burner a different project; but in a way that's OK because I realized that I'm not too clear on something pretty important: namely, the mechanism whereby a user's click tells the script what page to generate! In other words, I realized that if there are let's say 20,000 separate "chunks" of dynamic data sitting in a database, each of which can be slotted into the template to form one "page," I really don't know how to write the part of the script that takes a user's input selection and then generates that page and only that page. Pretty basic, huh? It's probably just a case of assigning each one a name, like 1.html, 2.html, etc., on up to 20000.html, and then creating my links accordingly. But what if the links themselves have to be created dynamically?

I'm sure I'll be putting some miles on the Super Search engine when it comes time to figure that one out...


In reply to Re^2: Templating on a shared host? by mojodaddy
in thread Templating on a shared host? by mojodaddy

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.