1. NAME▲
pod2usage - print usage messages from embedded pod docs in files
2. SYNOPSIS ▲
pod2usage 12 [-help] [-man] [-exit exitval] [-output outfile] [-verbose level] [-pathlist dirlist] file
3. OPTIONS AND ARGUMENTS ▲
-help 8 Print a brief help message and exit.
-man 8 Print this command's manual page and exit.
-exit exitval 8 The exit status value to return.
-output outfile 8 The output file to print to. If the special names \*(L"-\*(R" or \*(L">&1\*(R" or \*(L">&STDOUT\*(R" are used then standard output is used. If \*(L">&2\*(R" or \*(L">&STDERR\*(R" is used then standard error is used.
-verbose level 8 The desired level of verbosity to use: .Sp 1 : print SYNOPSIS only 2 : print SYNOPSIS sections and any OPTIONS/ARGUMENTS sections 3 : print the entire manpage (similar to running pod2text)
-pathlist dirlist 8 Specifies one or more directories to search for the input file if it was not supplied with an absolute path. Each directory path in the given list should be separated by a ':' on Unix (';' on MSWin32 and DOS).
file 8 The pathname of a file containing pod documentation to be output in usage message format (defaults to standard input).
4. DESCRIPTION ▲
pod2usage will read the given input file looking for pod documentation and will print the corresponding usage message. If no input file is specified then standard input is read.
pod2usage invokes the \f(BIpod2usage()\fB function in the Pod::Usage module. Please see \*(L"pod2usage()\*(R" in Pod::Usage.
5. SEE ALSO ▲
Pod::Usage, pod2text (1)
6. AUTHOR ▲
Please report bugs using <http://rt.cpan.org>.
Brad Appleton <>
Based on code for \f(BIpod2text\fB (1) written by Tom Christiansen <>