NAME
Pod::MultiLang::Pod - turn MultiLang-pod into just pod
SYNOPSIS
$parser = Pod::MultiLang::Pod->new(%opts);
$parser->parse_from_file($infile,$outfile);
DESCRIPTION
Pod::MultiLang::Pod translates pod into normal pod. This inherits Pod::MultiLang and it inherits Pod::Parser, usage is same as Pod::Parser.
OPTIONS
method new takes follow arguments:
- langs
-
langs => [qw(ja en)]
inherited from Pod::MultiLang. pass to Pod::MultiLang->new(). see "new" in Pod::MultiLang.
specify languages. paragraphs which exist in mlpod document but not selected with
langs
are ignored in result. - in_charset
-
encoding for input document. default is utf-8.
- out_charset
-
encoding for output document. default is utf-8.
and embed as <meta content="Content-Type" value="text/html; charset=" /> .
- default_lang
-
language for outsize of J<> interior sequence.
METHODS
new
create new instance.
OVERRIDES
This module implements Pod::Parser.
- begin_pod
- end_pod
- interior_sequence
PRIVATE FUNCTIONS
- rebuild
- buildtext
- output_pod
- on_mlpod_link
- on_mlpod_plain
- verbmsg
- parse_mlpod