.\" -*- 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 NAME Locale::Po4a::Chooser \- manage po4a modules .SH DESCRIPTION .IX Header "DESCRIPTION" Locale::Po4a::Chooser is a module to manage po4a modules. Previously, all po4a binaries used to know all po4a modules (pod, man, sgml, etc). This made the addition of a new module boring, because you had to make sure that the documentation is synchronized in all modules, and that each of them can access the new module. .PP Now, you just have to call the \fBLocale::Po4a::Chooser::new()\fR function, passing the name of module as argument. .PP The function \fBLocale::Po4a::Chooser::list()\fR lists the available formats, and exits with the value passed as argument. So, we call \&\fBLocale::Po4a::Chooser::list\fR\|(0) when requested for the list of formats, and \fBLocale::Po4a::Chooser::list\fR\|(1) when passed an invalid format name. .SH "SEE ALSO" .IX Header "SEE ALSO" .IP "About po4a:" 4 .IX Item "About po4a:" \&\fBLocale::Po4a::Po\fR\|(3pm), \&\fBLocale::Po4a::TransTractor\fR\|(3pm), \&\fBpo4a\fR\|(7) .IP "About modules:" 4 .IX Item "About modules:" \&\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 AUTHORS .IX Header "AUTHORS" .Vb 2 \& Denis Barbier \& Martin Quinson (mquinson#debian.org) .Ve .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" Copyright © 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).