Re: [htmltmpl] language support
Brought to you by:
samtregar
|
From: Alex K. <ka...@ra...> - 2004-08-25 08:53:58
|
* Martin Sarfy <sa...@ic...> [August 24 2004, 23:23]: > > > Using <TMPL_IF lang=""> construct isn't appropriate for several reasons: > > > -- $lang is not accessible in <TMPL_LOOP> context > > Use global_vars and it will be. > It's good that global_vars is not set by default, clean namespace in > <TMPL_LOOP> is advantage and I don't want to turn it on only because > translations. And global_vars slow down processing by a factor of 4. I once was very surprised with a profile where HTML::Template::output took more than 40% of execution time. -- Alex Kapranoff. |