Re: [htmltmpl] RFC: external caching
Brought to you by:
samtregar
From: Sam T. <sa...@tr...> - 2004-05-12 14:56:20
|
On Wed, 12 May 2004, Carl Franks wrote: > You can obtain a template to be saved externally as such: > > $cache = $t->output( cache_ref => 1 ); I think I'd write that: use Storable qw(freeze); $cache = freeze($t); HTML::Template works fine with Storable - that's how the file_cache and shared_cache work. -sam |