HTML::Templateモジュール
ちょっと思い出しメモ。
テンプレート作成 my $template = new HTML::Template(filename => 'kaizoku.html'); テンプレートに値をセット $template->param(prev => $perv); $teplate->param(next => $next); HTMLの作成 my $body = $template->output(); HTML出力 print "Content-Type: text/html\n\n"; print $body;