summaryrefslogtreecommitdiff
path: root/pod/perldoc.pod
diff options
context:
space:
mode:
authorEnrico Sorcinelli <bepi@perl.it>2005-11-24 17:04:03 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-24 15:38:05 +0000
commitfaceb03c4aa634b15ae4628ae2c45c11734e2fd7 (patch)
treed3e2ecaf099f3506cce080513281ca12886f84d3 /pod/perldoc.pod
parent369d8e4931dc02d2a39ae1202c0b0f5a5dd2aeea (diff)
downloadperl-faceb03c4aa634b15ae4628ae2c45c11734e2fd7.tar.gz
Document new perldoc -L switch
Subject: Re: Pod::Perldoc patch (Fw: [ANNOUNCE] POD2::IT 0.10) Message-Id: <20051124160403.568a194b.bepi@perl.it> p4raw-id: //depot/perl@26202
Diffstat (limited to 'pod/perldoc.pod')
-rw-r--r--pod/perldoc.pod15
1 files changed, 15 insertions, 0 deletions
diff --git a/pod/perldoc.pod b/pod/perldoc.pod
index 9042316be4..8e27d050b0 100644
--- a/pod/perldoc.pod
+++ b/pod/perldoc.pod
@@ -13,12 +13,17 @@ B<perldoc> [B<-h>] [B<-v>] [B<-t>] [B<-u>] [B<-m>] [B<-l>] [B<-F>]
[B<-wI<formatteroption:value>>]
[B<-n>I<nroff-replacement>]
[B<-X>]
+[B<-L> I<language_code>]
PageName|ModuleName|ProgramName
B<perldoc> B<-f> BuiltinFunction
+B<perldoc> B<-L> it B<-f> BuiltinFunction
+
B<perldoc> B<-q> FAQ Keyword
+B<perldoc> B<-L> fr B<-q> FAQ Keyword
+
See below for more description of the switches.
=head1 DESCRIPTION
@@ -145,6 +150,16 @@ whose basename matches the name given on the command line in the file
C<$Config{archlib}/pod.idx>. The F<pod.idx> file should contain fully
qualified filenames, one per line.
+=item B<-L> I<language_code>
+
+This allows to specify the I<language code> for desired language translation.
+If C<POD2::E<lt>language_codeE<gt>> package doesn't exist (or isn't installed
+in your system), the switch will be ignored.
+All available translation packages should be found under the C<POD2::>
+namespace. See L<POD2::IT> (or L<POD2::FR>) in order to see how to create and
+integrate new localized C<POD2::*> pod documentation packages in
+L<Pod::Perldoc>.
+
=item B<PageName|ModuleName|ProgramName>
The item you want to look up. Nested modules (such as C<File::Basename>)