http://qs321.pair.com?node_id=519503


in reply to Re^2: PHP to PERL ?
in thread PHP to PERL ?

Just to clarify, your definition of 'better' in this example is probably defined as 'faster'. Note that the author of HTML::Template::Compiled Tina Mueller mentioned on the mod_perl mailing list that she wouldn't advise using H::T::C in production.

Not to worry though because if speed is your goal, you might want to have a peek at HTML::Template::JIT instead. It's stable and has a decent test suite.

-- vek --

Replies are listed 'Best First'.
Re^4: PHP to PERL ?
by tinita (Parson) on Jan 08, 2006 at 14:28 UTC
    Just to clarify, your definition of 'better' in this example is probably defined as 'faster'.
    I guess reneeb was referring to the dynamic include feature of HTC, which HTML::Template doesn't have: <tmpl_include_var name="parameter_which_contains_filename">
    Note that the author of HTML::Template::Compiled Tina Mueller mentioned on the mod_perl mailing list that she wouldn't advise using H::T::C in production.
    sure, but this advice wasn't meant for eternity =)

      but this advice wasn't meant for eternity =)

      Understood. I just hadn't seen a follow-up post anywhere (at least not on the mod_perl or HTML::Template mailing lists anyway).

      -- vek --