Plack::Middlerware::SetTitle
#SYNOPSIS
use Plack::Builder;
my $app = sub { return [ 200 , [ "Content-Type" => "text/html" ], [ "
\nWorld!
" ] ]; };builder { enable "SetTitle", 'title' => 'kichijojipm'; $app; };
<title>
kichijojipm </title>
htmlのテンプレートにheadのtitleに文字列を差し込むを事ができる簡単な実装