[cgiapp] Anyone using HTML::Template::Expr ?

Michael Peters mpeters at plusthree.com
Fri Sep 12 20:09:49 EDT 2008


Mark Jaffe wrote:
> I realized the plain version did not allow me to perform "case-like" 
> statements, and found Tregar had an extension by this name. I was unsure 
> how to instantiate it, since it seems that the HTML::Template 
> initialization is hidden somewhere. Can someoene provide a clue?

Any place you would use HTML::Template just replace it with HTML::Template::Expr. If you're talking 
about C::A's load_tmpl() function, then you'll need to override it and replace it with your own 
version that uses H::T::E.

-- 
Michael Peters
Plus Three, LP



More information about the cgiapp mailing list