Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 4.11 PodChapter 4
The Perl Language
Next: Reference: pod2fm
 

perldoc

perldoc [options] docname

Formats and displays Perl pod documentation. Extracts the documentation from pod format and displays it. For all options except -f, docname is the name of the manpage, module, or program containing pod to be displayed. For -f, it's the name of a built-in Perl function to be displayed.

Options

-f function

Formats and displays documentation for the specified Perl function.

-h

Displays help message.

-l

Displays full path to the module.

-m

Displays entire module, both code and pod text, without formatting the pod.

-t

Displays using text formatter instead of nroff. Faster, but output is less fancy.

-u

Unformatted. Finds and displays the document without formatting it.

-v

Verbose. Describes search for the file, showing directories searched and where file was found.

perldoc applies switches found in the PERLDOC environment variable before those from the command line. It searches directories specified by the PERL5LIB, PERLLIB (if PERL5LIB isn't defined), and PATH environment variables.


Previous: 4.11 PodPerl in a NutshellNext: Reference: pod2fm
4.11 PodBook IndexReference: pod2fm



Banner.Novgorod.Ru