1POD2USAGE(1) Perl Programmers Reference Guide POD2USAGE(1)
2
3
4
6 pod2usage - print usage messages from embedded pod docs in files
7
9 pod2usage [-help] [-man] [-exit exitval] [-output outfile] [-verbose
10 level] [-pathlist dirlist] file
11
13 -help Print a brief help message and exit.
14
15 -man Print this command's manual page and exit.
16
17 -exit exitval
18 The exit status value to return.
19
20 -output outfile
21 The output file to print to. If the special names "-" or ">&1"
22 or ">&STDOUT" are used then standard output is used. If ">&2"
23 or ">&STDERR" is used then standard error is used.
24
25 -verbose level
26 The desired level of verbosity to use:
27
28 1 : print SYNOPSIS only
29 2 : print SYNOPSIS sections and any OPTIONS/ARGUMENTS sections
30 3 : print the entire manpage (similar to running pod2text)
31
32 -pathlist dirlist
33 Specifies one or more directories to search for the input file
34 if it was not supplied with an absolute path. Each directory
35 path in the given list should be separated by a ':' on Unix
36 (';' on MSWin32 and DOS).
37
38 file The pathname of a file containing pod documentation to be
39 output in usage message format (defaults to standard input).
40
42 pod2usage will read the given input file looking for pod documentation
43 and will print the corresponding usage message. If no input file is
44 specified then standard input is read.
45
46 pod2usage invokes the pod2usage() function in the Pod::Usage module.
47 Please see "pod2usage()" in Pod::Usage.
48
50 Pod::Usage, pod2text(1)
51
53 Please report bugs using <http://rt.cpan.org>.
54
55 Brad Appleton <bradapp@enteract.com>
56
57 Based on code for pod2text(1) written by Tom Christiansen
58 <tchrist@mox.perl.com>
59
60
61
62perl v5.10.1 2017-03-22 POD2USAGE(1)