| 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) 。
Denis Barbier <barbier@linuxfr.org> Martin Quinson (mquinson#debian.org)
版權© 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-08-06 | perl v5.38.2 |