[dancer-users] Dancer2::Template::Simple features

Gabor Szabo szabgab at gmail.com
Wed Nov 15 20:57:50 GMT 2017


Hi,

reading the source code and then looking at the tests reveal that
https://metacpan.org/pod/Dancer2::Template::Simple
support both variable interpolation

<% var1 %>

and conditional statement:

<% if var %>
    true
<% else %>
    false
<% end %>

The latter however is not documented.

Is it because it has not been documented or because this feature is
not recommended at all?

regards
    Gabor


More information about the dancer-users mailing list