.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "LOCALE::PO4A::CHOOSER.3PM 1" .TH LOCALE::PO4A::CHOOSER.3PM 1 2024-06-26 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名称 .IX Header "名称" Locale::Po4a::Chooser \- 管理 po4a 模块 .SH 描述 .IX Header "描述" Locale::Po4a::Chooser 是一个管理 po4a 模块的模块。以前,所有的 po4a 二进制文件都知道所有的 po4a 模块(pod、man、sgml 等)。这使得添加新模块变得枯燥乏味,因为您必须确保文档在所有模块中都是同步的,并且每个模块都可以访问新模块。 .PP 现在,您只需调用 \fBLocale::Po4a::Chooser::new()\fR 函数,将模块名称作为参数传递。 .PP 函数 \fBLocale::Po4a::Chooser::list()\fR 列出了可用的格式,并以作为参数传递的值退出。因此,当请求格式列表时,我们调用 \fBLocale::Po4a::Chooser::list\fR\|(0),当传递无效的格式名称时,调用Locale::\fBPo4a::Chooser::list\fR\|(1) 。 .SH 参见 .IX Header "参见" .IP "关于 po4a:" 4 .IX Item "关于 po4a:" \&\fBLocale::Po4a::Po\fR\|(3pm), \fBLocale::Po4a::TransTractor\fR\|(3pm), \fBpo4a\fR\|(7) .IP 关于模块: 4 .IX Item "关于模块:" \&\fBLocale::Po4a::Dia\fR\|(3pm), \fBLocale::Po4a::Docbook\fR\|(3pm), \fBLocale::Po4a::Guide\fR\|(3pm), \fBLocale::Po4a::Halibut\fR\|(3pm), \fBLocale::Po4a::Ini\fR\|(3pm), \fBLocale::Po4a::KernelHelp\fR\|(3pm), \fBLocale::Po4a::LaTeX\fR\|(3pm), \fBLocale::Po4a::Man\fR\|(3pm), \fBLocale::Po4a::Pod\fR\|(3pm), \fBLocale::Po4a::RubyDoc\fR\|(3pm), \fBLocale::Po4a::Sgml\fR\|(3pm), \fBLocale::Po4a::TeX\fR\|(3pm), \fBLocale::Po4a::Texinfo\fR\|(3pm), \fBLocale::Po4a::Text\fR\|(3pm), \fBLocale::Po4a::Wml\fR\|(3pm). \fBLocale::Po4a::Xhtml\fR\|(3pm), \fBLocale::Po4a::Xml\fR\|(3pm), \fBLocale::Po4a::Wml\fR\|(3pm), \fBLocale::Po4a::Yaml\fR\|(3pm). .SH 作者 .IX Header "作者" .Vb 2 \& Denis Barbier \& Martin Quinson (mquinson#debian.org) .Ve .SH 翻译 .IX Header "翻译" taotieren .SH 版权和许可 .IX Header "版权和许可" 版权© 2002\-2005,2014, 2017 SPI, Inc. .PP This program is free software; you may redistribute it and/or modify it under the terms of GPL v2.0 or later (see the COPYING file).