On Thu, 25 Jul 2002, Brian McCain wrote:

> | On Thu, 25 Jul 2002, Philip S Tellis wrote:
> |
> | > What I would really like to see though is a <tmpl_elseif> and
> | > <tmpl_elseunless>.  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 the templates.  I'm still leaning
> | in that direction although I will admit it's a close call.
> [snip]
>
> Maybe in HTML::Template::Expr?
> Just a thought.

I think that's unlikely to work out.  Adding <tmpl_elseif> would require
some fairly radical changes to the parser.  HTML::Template::Expr just uses
HTML::Template's parser and isn't really in the right place to implement
something like that.

-sam




-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to