Text::Xslate::Syntax::Metakolon

Section: User Contributed Perl Documentation (3pm)
Updated: 2022-10-20
Index Return to Main Contents
 

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 10:21:38 GMT, May 18, 2024