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
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to