perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Moseley <mose...@hank.org>
Subject Re: Template-Toolkit performance tuning
Date Mon, 31 Dec 2001 00:39:47 GMT
At 05:17 PM 12/30/01 -0600, Ryan Thompson wrote:
>	use Template;
>
>	my %vars;
>
>	$var{foo} = "bar";   # About 30 scalars like this
>	.
>	.
>
>	my $tt = new Template({INTERPOLATE => 1});

Cache your template object between requests.


-- 
Bill Moseley
mailto:moseley@hank.org

Mime
View raw message