--- Thilo Planz <[EMAIL PROTECTED]> wrote:
> --- wren wrote:
> > I'm working on a template-reading module
>
> Are you sure you need to do that ?
I've looked at various templating modules on CPAN. The
reason I'm writing my own is because the templating
modules I've seen on CPAN are either too robust (undue
increase in loading time), or don't have the features
I want, or both. I'm also writing it to try my hand at
coding things I haven't done before, or in ways I
haven't done before.
I've looked at HTML::Template and used it before, but
it's not right for this job. There are certain things
I want to do that it either can't do, or can't do
concicely. I may try it again, but I don't think it's
right here.
> The only situation where HTML::Template might be a
> little inconvenient
> is when you do not know the names of the parameters
> (the references to
> your data) beforehand.
> Do you?
All the data to be interpolates is returned from a
subroutine: &get('value') and the like. This is one of
the reasons HTML::Template won't work well. If I
recall correctly, there isn't a good way to do that
with HTML::Template.
~wren
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com