Pod::MultiLang::Pod - turn MultiLang-pod into just pod


Pod-MultiLang documentation  | view source Contained in the Pod-MultiLang distribution.

Index


NAME

Top

Pod::MultiLang::Pod - turn MultiLang-pod into just pod

SYNOPSIS

Top

 $parser = Pod::MultiLang::Pod->new(%opts);
 $parser->parse_from_file($infile,$outfile);

DESCRIPTION

Top

Pod::MultiLang::Pod translates pod into normal pod. This inherits Pod::MultiLang and it inherits Pod::Parser, usage is same as Pod::Parser.

OPTIONS

Top

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

Top

new

create new instance.

OVERRIDES

Top

This module implements Pod::Parser.

begin_pod
end_pod
interior_sequence

PRIVATE FUNCTIONS

Top

rebuild
buildtext
output_pod
on_mlpod_plain
verbmsg
parse_mlpod

SEE ALSO

Top

Pod::MultiLang


Pod-MultiLang documentation  | view source Contained in the Pod-MultiLang distribution.