Greetings all,

Sending again, b/c it was sent accidentally from the wrong address...
I'm brand new to HTML::Template.  I just found it last week, and am so
far very impressed.  I was somewhat daunted by the idea of building my
own tag-replacement scheme, for reasons of both difficulty and (mainly)
time.  H::T so far has been the answer to all my needs.

I do have a question though...  I've a problem, for which the solution
(at least the obvious solution) is nested templates, but haven't found a
way to do it w/o running through $template->output twice... which is one
more than I want to.

In several templates, I use the same block of HTML which contains
several tmpl_vars.  It would be ideal to be able to assign that block of
markup to a tmpl_var, and have both the parent, and the child template
parsed in one go.  I was hoping to find an option like max_nesting that
would behave as max_includes does... in order to minimize the chance of
endless loops.  I'm using scalarref and arrayref templates, btw, yanked
from a database, Apache 1.3.26, mod_perl 1.27, and H::T 2.5.

My apologies if this has been covered before, I searched the archives
and didn't find anything, though it could have been for lack of the
right search terms.  It may not even be a good idea for reasons I've yet
to see... but it never hurts to ask.  Is there a way to do what I'm
talking about?  Maybe H::T::Expr?  I haven't looked there yet.

Thanks in advance.

] David Veatch
] [EMAIL PROTECTED]
] http://dvicci.com/



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to