I'm delighted to announce the availability of Template::Generate 0.04 on CPAN. It is also available here:
http://aut.dyndns.org/dist/Template-Generate-0.04.tar.gz
MD5 (Template-Generate-0.04.tar.gz) = e272b35e47df45f12bdee7f53a0dd52c
This module generates TT2 templates. It can take data structures and
rendered documents together, and deduce templates that could have
performed the transformation.
This version adds support for nested [% FOREACH %] blocks and zero-width
assertions.
It is a companion to Template.pm and Template::Extract; their
relationship is shown below:
Template: ($template + $data) ==> $document # normal
Template::Extract: ($document + $template) ==> $data # tricky
Template::Generate: ($data + $document) ==> $template # very tricky
Ideas, suggestion and feedbacks are most welcome.
Thanks,
/Autrijus/
signature.asc
Description: =?UTF-8?Q?=E9=80=99=E6=98=AF=E6=95=B8=E4=BD=8D=E5=8A=A0=E7=B0=BD?= =?UTF-8?Q?=E7=9A=84=E9=83=B5?= =?UTF-8?Q?=E4=BB=B6?=
