* Chris Nandor ([EMAIL PROTECTED]) [011002 12:08]:
> Yes, if you do $template->process(\$foo), it is compiled each time through.
> In Slash::Display::Provider, I actually keep a hash around that lets me
> store string -> name, and then use that name ("anon_$count") to reference
> the cached template.  The hash lookup is cheaper than compiling the
> template each time ... :-)

Seconded! I swiped, er, borrowed this from slashcode for
OpenInteract::Template::Provider and it works great.

Chris

-- 
Chris Winters ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.


Reply via email to