From a2afbef4476f724afce78f808244bff05314ad11 Mon Sep 17 00:00:00 2001 From: Florian Ragwitz Date: Thu, 7 Jul 2011 23:13:23 +0200 Subject: Move perldoc.pod to the dist it belongs to --- dist/Pod-Perldoc/lib/perldoc.pod | 269 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 269 insertions(+) create mode 100644 dist/Pod-Perldoc/lib/perldoc.pod (limited to 'dist/Pod-Perldoc') diff --git a/dist/Pod-Perldoc/lib/perldoc.pod b/dist/Pod-Perldoc/lib/perldoc.pod new file mode 100644 index 0000000000..d70625c451 --- /dev/null +++ b/dist/Pod-Perldoc/lib/perldoc.pod @@ -0,0 +1,269 @@ + +=head1 NAME + +perldoc - Look up Perl documentation in Pod format. + +=head1 SYNOPSIS + +B [B<-h>] [B<-D>] [B<-t>] [B<-u>] [B<-m>] [B<-l>] [B<-F>] +[B<-i>] [B<-V>] [B<-T>] [B<-r>] +[B<-dI>] +[B<-oI>] +[B<-MI>] +[B<-wI>] +[B<-n>I] +[B<-X>] +[B<-L> I] +PageName|ModuleName|ProgramName + +B B<-f> BuiltinFunction + +B B<-L> it B<-f> BuiltinFunction + +B B<-q> FAQ Keyword + +B B<-L> fr B<-q> FAQ Keyword + +B B<-v> PerlVariable + +See below for more description of the switches. + +=head1 DESCRIPTION + +I looks up a piece of documentation in .pod format that is embedded +in the perl installation tree or in a perl script, and displays it via +C. (In addition, if running under HP-UX, +C will be used.) This is primarily used for the documentation for +the perl library modules. + +Your system may also have man pages installed for those modules, in +which case you can probably just use the man(1) command. + +If you are looking for a table of contents to the Perl library modules +documentation, see the L page. + +=head1 OPTIONS + +=over 5 + +=item B<-h> + +Prints out a brief Belp message. + +=item B<-D> + +Bescribes search for the item in Betail. + +=item B<-t> + +Display docs using plain Bext converter, instead of nroff. This may be faster, +but it probably won't look as nice. + +=item B<-u> + +Skip the real Pod formatting, and just show the raw Pod source (Bnformatted) + +=item B<-m> I + +Display the entire module: both code and unformatted pod documentation. +This may be useful if the docs don't explain a function in the detail +you need, and you'd like to inspect the code directly; perldoc will find +the file for you and simply hand it off for display. + +=item B<-l> + +Display onBy the file name of the module found. + +=item B<-F> + +Consider arguments as file names; no search in directories will be performed. + +=item B<-f> I + +The B<-f> option followed by the name of a perl built-in function will +extract the documentation of this function from L. + +Example: + + perldoc -f sprintf + + +=item B<-q> I + +The B<-q> option takes a regular expression as an argument. It will search +the Buestion headings in perlfaq[1-9] and print the entries matching +the regular expression. + +Example: + + perldoc -q shuffle + + +=item B<-v> I + +The B<-v> option followed by the name of a Perl predefined variable will +extract the documentation of this variable from L. + +Examples: + + perldoc -v '$"' + perldoc -v @+ + perldoc -v DATA + + +=item B<-T> + +This specifies that the output is not to be sent to a pager, but is to +be sent right to STDOUT. + +=item B<-d> I + +This specifies that the output is to be sent neither to a pager nor +to STDOUT, but is to be saved to the specified filename. Example: +C + +=item B<-o> I + +This specifies that you want Perldoc to try using a Pod-formatting +class for the output format that you specify. For example: +C<-oman>. This is actually just a wrapper around the C<-M> switch; +using C<-oI> just looks for a loadable class by adding +that format name (with different capitalizations) to the end of +different classname prefixes. + +For example, C<-oLaTeX> currently tries all of the following classes: +Pod::Perldoc::ToLaTeX Pod::Perldoc::Tolatex Pod::Perldoc::ToLatex +Pod::Perldoc::ToLATEX Pod::Simple::LaTeX Pod::Simple::latex +Pod::Simple::Latex Pod::Simple::LATEX Pod::LaTeX Pod::latex Pod::Latex +Pod::LATEX. + +=item B<-M> I + +This specifies the module that you want to try using for formatting the +pod. The class must at least provide a C method. +For example: C. + +You can specify several classes to try by joining them with commas +or semicolons, as in C<-MTk::SuperPod;Tk::Pod>. + +=item B<-w> I or B<-w> I