MobaSiF::Template - Very fast Template module written by XS.
use MobaSiF::Template; my $compiled_template_file = "compiled_template.bin"; my $refParamHash = { base => 'MobaSiF::Template Test', list => [ { id => 1 , value => 'A' }, { id => 2 , value => 'B' }, ] }; $html = MobaSiF::Template::insert($compiled_template_file, $refParamHash); print $html;
事前コンパイルされたテンプレートバイナリを用いて高速なテンプレート処理を行います。 ループ・条件分岐・置換(URL ENCODE, HTMLSPECIALCHARS(+NL2BR) が可能)に対応しており、基本的なHTMLテンプレートの処理に対応できます。
MobaSiF::Template::Compiler
To install MobaSiF::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MobaSiF::Template
CPAN shell
perl -MCPAN -e shell install MobaSiF::Template
For more information on module installation, please visit the detailed CPAN module installation guide.