> 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
> 

That didn't even cross my mind! I think that's exactly what I'll do.

The code I had written used Storable to save the {param_map} and 
parse_stack} keys, but your suggestion is obviously more maintainable 
and works on existing installations, nice.

Carl






-------------------------------------------------------
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