Template::Tiny vs ForkedTiny
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? regards Gabor
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.
participants (2)
-
Gabor Szabo -
Stefan Hornburg (Racke)