Reference: perldoc
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:32:58Z

#

| Chapter 4 The Perl Language |

## 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.

4.11 Pod |  | Reference: pod2fm