Perlについての質問箱 32箱目
■ このスレッドは過去ログ倉庫に格納されています
0109デフォルトの名無しさん
2007/08/17(金) 09:55:59イメージとしては下記のような感じです。
my $template = Template->new();
my $compiled_tt2 = $template->compile('sample.tt2'); # ファイル:sample.tt2をコンパイルした内容を変数$compiled_tt2へ格納
print $template->process($compiled_tt2); # $compiled_tt2から出力を生成
■ このスレッドは過去ログ倉庫に格納されています