Recommend if you must, but please remember I'm looking for advice on semantics, not implementation.
Mine existing implementations for semantics? Ha:D
Text::Xslate::Syntax::Kolon is speedyfast, see Text::Xslate::Manual::FAQ, Xslate - Scalable template engine for Perl5
I like Mojo::Template/TT2 deal where its MARKERattribute varname attributeMARKER as in
[%- trim_prev_trail_whitespace -%] [%- trim_prev_whitespace %] [% trim_trail_whitespace | html -%] <%# comment line then trailing whitespace trimmed =%> <%== Perl expression, replaced with XML escaped result %> <: $textarea | html :>
In reply to Re: Best practice on escapes in interpolated strings (tt2/mojo)
by Anonymous Monk
in thread Best practice on escapes in interpolated strings
by wanna_code_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |