Pod::MultiLang::Pod_ja - 多言語 Pod を通常の pod に変換
$parser = Pod::MultiLang::Pod->new(%opts); $parser->parse_from_file($infile,$outfile);
Pod::MultiLang を継承する pod へのトランスレータです. Pod::MultiLang は Pod::Parser を基底としているので, 基本的な使用方法はそれにならいます.
new の引数は以下のものがあります.
langs => [qw(ja en)]
Pod::MultiLang から引き継いでいるオプション. Pod::MultiLang->new() に渡されます. "new" in Pod::MultiLang を参照してください.
使用する言語を指定します. 指定されなかった言語は, mlpod 中にあっても無視されます.
入力ファイルのエンコーディングを指定します. デフォルトでは utf-8 です.
出力ファイルのエンコーディングを指定します. デフォルトでは utf-8 です.
<meta content="Content-Type" value="text/html; charset=" /> にも埋め込まれます.
J<> で囲まれていない文章に対する言語を指定します.
create new instance.
This module implements Pod::Parser.
Pod::MultiLang
To install Pod::MultiLang, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::MultiLang
CPAN shell
perl -MCPAN -e shell install Pod::MultiLang
For more information on module installation, please visit the detailed CPAN module installation guide.