1Text::Xslate::Syntax::MUestearkoCloonnt(r3i)buted Perl DToecxutm:e:nXtsaltaitoen::Syntax::Metakolon(3)
2
3
4
6 Text::Xslate::Syntax::Metakolon - The same as Kolon but using [% ... %]
7 tags
8
10 use Text::Xslate;
11 my $tx = Text::Xslate->new(
12 syntax => 'Metakolon',
13 );
14
15 print $tx->render_string(
16 'Hello, [% $dialect %] world!',
17 { dialect => 'Metakolon' }
18 );
19
21 Metakolon is the same as Kolon except for using "[% ... %]" tags and
22 "%% ..." line code, instead of "<: ... :>" and ": ...".
23
24 This may be useful when you want to produce Xslate templates by itself.
25
26 See Text::Xslate::Syntax::Kolon for details.
27
29 Text::Xslate
30
31
32
33perl v5.28.1 2019-02-02Text::Xslate::Syntax::Metakolon(3)