Re: [htmltmpl] Re: Patches for HTML-Template-2.5.tar.gz

2002-07-24 Thread Sam Tregar
On Thu, 25 Jul 2002, Philip S Tellis wrote: > What I would really like to see though is a and > . That would really clean up some of my templates that > have too many nested ifs. Mmm.. I've considered it at various points. Each time I decide it would only encourage more complicated logic in

Re: [htmltmpl] Re: Patches for HTML-Template-2.5.tar.gz

2002-07-24 Thread Philip S Tellis
On Wed, 24 Jul 2002, Sam Tregar wrote: > > > > Some people will like this, I imagine. Maybe call it "DEFAULT"? I think > I might take this as a separate patch. What do others think? I'd agree with this. the default="" parameter would be quite useful to me. > > 6. add __count__ to

Re: [htmltmpl] Re: Patches for HTML-Template-2.5.tar.gz

2002-07-24 Thread simran
On Thu, 2002-07-25 at 05:20, Sam Tregar wrote: > On Wed, 24 Jul 2002, Yunliang Yu wrote: > > > 4. TMPL_VAR can now have a default value > > > > > > Some people will like this, I imagine. Maybe call it "DEFAULT"? I think > I might take this as a separate patch. What do others think?

RE: [htmltmpl] Re: Patches for HTML-Template-2.5.tar.gz

2002-07-24 Thread Cees Hek
Quoting Kenny Smith <[EMAIL PROTECTED]>: > >> 5. add TMPL_DEF tag for defining new parameters > >> > >> > > >I don't like this. Mixing display logic with setup of variables is a very > >dangerous thing. > > I don't even know what this is really useful for? If you are hard coding > the

RE: [htmltmpl] Re: Patches for HTML-Template-2.5.tar.gz

2002-07-24 Thread Kenny Smith
Hi Sam, I don't know if you wanted external feedback on all of the bits, or just the one you explicitly asked for... but, I generally overshare, so here ya go... > > > I really don't like putting expressions into the NAME attribute. I think > EXPR, as used in HTML::Template::Expr, is a better

[htmltmpl] Re: Patches for HTML-Template-2.5.tar.gz

2002-07-24 Thread Sam Tregar
On Wed, 24 Jul 2002, Yunliang Yu wrote: > Thanks for the wonderful HTML::Template module. I made a few changes > while using it for my projects, hoping these changes will be useful for > others: Thanks! I hope you don't mind, but I have some mixed feedback for you. Please don't take it the wron