Text::Xslate::Syntax::Metakolon - The same as Kolon but using [% ... %] tags
use Text::Xslate; my $tx = Text::Xslate->new( syntax => 'Metakolon', ); print $tx->render_string( 'Hello, [% $dialect %] world!', { dialect => 'Metakolon' } );
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.
Text::Xslate
To install Text::Xslate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Xslate
CPAN shell
perl -MCPAN -e shell install Text::Xslate
For more information on module installation, please visit the detailed CPAN module installation guide.