dwww Home | Manual pages | Find package

Text::Xslate::Syntax::UserkContributed PerText::Xslate::Syntax::Metakolon(3pm)

NAME
       Text::Xslate::Syntax::Metakolon - The same as Kolon but using [% ... %]
       tags

SYNOPSIS
           use Text::Xslate;
           my $tx = Text::Xslate->new(
               syntax => 'Metakolon',
           );

           print $tx->render_string(
               'Hello, [% $dialect %] world!',
               { dialect => 'Metakolon' }
           );

DESCRIPTION
       Metakolon is the same as Kolon except for using "[% ... %]" tags and
       "%% ..." line code, instead of "<: ... :>" and ": ...".

       This may be useful when you want to produce Xslate templates by itself.

       See Text::Xslate::Syntax::Kolon for details.

SEE ALSO
       Text::Xslate

perl v5.36.0                      2022-10-Text::Xslate::Syntax::Metakolon(3pm)

Generated by dwww version 1.15 on Wed Jun 26 18:10:06 CEST 2024.