[dancer-users] Template::Tiny vs ForkedTiny
Stefan Hornburg (Racke)
racke at linuxia.de
Fri Nov 17 10:47:36 GMT 2017
On 11/16/2017 08:37 AM, Gabor Szabo wrote:
> Hi again,
>
> I am still into the templating systems of Dancer.
>
> It seems Dancer2 requires Template::Tiny in its cpanfile but it never
> uses it. Instead there is a re-implementation of it at
> https://metacpan.org/pod//Dancer2::Template::Implementation::ForkedTiny
> I am wondering why not use Template::Tiny? And if it isn't in use then
> why require it?
Dancer2::Template::Tiny says:
However, Dancer2 uses a modified version of L<Template::Tiny>, which is
L<Dancer2::Template::Implementation::ForkedTiny>. It adds 2 features :
=over
=item *
opening and closing tag are now configurable
=item *
CodeRefs are evaluated and their results is inserted in the result.
=back
I suppose the requirement of Template::Tiny isn't necessary.
Regards
Racke
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
More information about the dancer-users
mailing list