Aye, that seems to be the case, it's just not possible with the basic HTML::Template, while I intend to be still be involved for a while, I see no reason he needs to either go digging in my code to change the appearance of the page or to have me do it. I will look a little deeper into Template::Toolkit, I've only took a cursory glance at it so far, I initially went with HTML::Template because of it's simplicity, and perhaps because it's templates look more like HTML, perhaps it would be best to switch to Template::Toolkit, for the very opposite reason, so it will be obvious what is straight up HTML, and what's code he'd be better off leaving be, since I'm apparently going to have to have SOME sort of code in the template to keep him from needing to get into the script itself. I'll see about doing as you've suggested and clearly delineating what variables need to be altered to affect what aspects of appearance. Though if anyone comes up with any miraculous methods to accomplish the seperation, I'm still open to ideas ;).

I appreciate the advice, this is my first semi-serious project in which I need to consider the ability of people other than myself, and particularly nonprogrammers to maintain certain aspects. All previous projects have either been things I intend only for my own use/learning or to be used as is by nonprogrammers with no inclination to muck about with the internals.

Just Another Perl Alchemist

In reply to Re^4: How to Separate Presentation from Implementation with HTML::Template by Koosemose
in thread How to Seperate Presentation from Implementation with HTML::Template by Koosemose

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.