[Templates] Processing templates from variables
Randal L. Schwartz
merlyn@stonehenge.com
Tue, 07 Aug 2007 10:03:14 -0700
>>>>> "Paul" == Paul Seamons <mail@seamons.com> writes:
Paul> In Template::Alloy (drop in replacement for Template) - the strings are
Paul> cached via MD5 - there is little performance hit to using eval. Even
Paul> without the MD5 caching the compiling is a bit faster in
Paul> Template::Alloy. This is similar to what Text::Tmpl does. Using MD5
Paul> signatures for eval'ed strings and string refs passed to process has
Paul> been discussed before in previous threads - I'm hoping the feature will
Paul> be in TT3.
Why MD5 and not SHA1? MD5 is known weak.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!