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


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to