Scroll to navigation

LOCALE::PO4A::CHOOSER.3PM(1) User Contributed Perl Documentation LOCALE::PO4A::CHOOSER.3PM(1)

名称

Locale::Po4a::Chooser - 管理 po4a 模块

描述

Locale::Po4a::Chooser 是一个管理 po4a 模块的模块。以前,所有的 po4a 二进制文件都知道所有的 po4a 模块(pod、man、sgml 等)。这使得添加新模块变得枯燥乏味,因为您必须确保文档在所有模块中都是同步的,并且每个模块都可以访问新模块。

现在,您只需调用 Locale::Po4a::Chooser::new() 函数,将模块名称作为参数传递。

函数 Locale::Po4a::Chooser::list() 列出了可用的格式,并以作为参数传递的值退出。因此,当请求格式列表时,我们调用 Locale::Po4a::Chooser::list(0),当传递无效的格式名称时,调用Locale::Po4a::Chooser::list(1)

参见

关于 po4a:
Locale::Po4a::Po(3pm), Locale::Po4a::TransTractor(3pm), po4a(7)
关于模块:
Locale::Po4a::Dia(3pm), Locale::Po4a::Docbook(3pm), Locale::Po4a::Guide(3pm), Locale::Po4a::Halibut(3pm), Locale::Po4a::Ini(3pm), Locale::Po4a::KernelHelp(3pm), Locale::Po4a::LaTeX(3pm), Locale::Po4a::Man(3pm), Locale::Po4a::Pod(3pm), Locale::Po4a::RubyDoc(3pm), Locale::Po4a::Sgml(3pm), Locale::Po4a::TeX(3pm), Locale::Po4a::Texinfo(3pm), Locale::Po4a::Text(3pm), Locale::Po4a::Wml(3pm). Locale::Po4a::Xhtml(3pm), Locale::Po4a::Xml(3pm), Locale::Po4a::Wml(3pm), Locale::Po4a::Yaml(3pm).

作者

 Denis Barbier <barbier@linuxfr.org>
 Martin Quinson (mquinson#debian.org)

翻译

taotieren <admin@taotieren.com>

版权和许可

版权© 2002-2005,2014, 2017 SPI, Inc.

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).

2024-07-02 perl v5.40.0