in reply to Optimize a HTML::Template::Expr template

You can give a try to HTML::Template::Pro and check if it's really so fast as they're saying, but I personally prefer to avoid using HTML::Template unless I need just to insert couple of values onto page. There are Template and HTML::Mason for more complex cases.

  • Comment on Re: Optimize a HTML::Template::Expr template

Replies are listed 'Best First'.
Re^2: Optimize a HTML::Template::Expr template
by ganeshk (Monk) on Aug 24, 2009 at 06:02 UTC

    Thanks zwon. I am trying HTML::Template::Pro. But I also need to call query() on the template object. Is it possible to get around this? In the sense use HTML::Template::Pro but still do query().

    Edit: Or if I am not asking for too much is there a way to convert a HTML::Template object to HTML::Template::Pro object after I am done with all the query() calls and also some param() calls?

      Nope, query is not supported. And I don't think there's good way to convert HTML::Template object into HTML::Template::Pro