On Wed, 23 Jul 2003, Hauck, William B. wrote: > What i've done is just use completely external html files with > html-compliant comments indicating the data field. (example <!-- > APPNAME_USER_FIRST_NAME -->). My application just reads in the html > on startup and does a series of substition statements over the file > as necessary to replace the comments with the actual data. Thus, > each type of page has one base html (or html file pieces) that are > merged with each other and data as necessary allowing all logic to > be kept in the program.
Change that to: <!-- TMPL_VAR APPNAME_USER_FIRST_NAME --> and you can use HTML::Template! You'll also get loops, includes, and simple conditionals should you ever need them. -sam