Kenneth Ölwing wrote:
> my $tt = Template->new();
> for (<a lot of iterations)
> {
>     $tt->process("file_with_big_template", $vars);
> }
>
> I should be able to do something like this instead:
>
> my $ctt = <create an object which compiles file_with_big_template>;
> for (<a lot of iterations)
> {
>     $ctt->process($vars);
> }
>   
Hmm, it was probably obvious, but $vars will contain new data for each 
iteration...

ken1

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to