1Dancer::Template::SimplUes(e3r)Contributed Perl DocumentDaatnicoenr::Template::Simple(3)
2
3
4
6 Dancer::Template::Simple - pure Perl 5 template engine for Dancer
7
9 version 1.3512
10
12 This template engine is provided as a default one for the Dancer micro
13 framework.
14
15 This template engine should be fine for development purposes but is not
16 a powerful one, it's written in pure Perl and has no C bindings to
17 accelerate the template processing.
18
19 If you want to power an application with Dancer in production
20 environment, it's strongly advised to switch to
21 Dancer::Template::TemplateToolkit.
22
24 A template written for Dancer::Template::Simple should be working just
25 fine with Dancer::Template::TemplateToolkit. The opposite is not true
26 though.
27
28 variables
29 To interpolate a variable in the template, use the following
30 syntax:
31
32 <% var1 %>
33
34 If 'var1' exists in the tokens hash given, its value will be
35 written there.
36
38 Dancer, Dancer::Template
39
41 This module has been written by Alexis Sukrieh.
42
44 This module is free software and is released under the same terms as
45 Perl itself.
46
48 Dancer Core Developers
49
51 This software is copyright (c) 2010 by Alexis Sukrieh.
52
53 This is free software; you can redistribute it and/or modify it under
54 the same terms as the Perl 5 programming language system itself.
55
56
57
58perl v5.30.0 2019-07-26 Dancer::Template::Simple(3)