POD2USAGE(1)
π«Ά pod2usage(1) π«Ά
Okay bestie, this is POD2USAGE(1) from User Contributed Perl Documentation β the page for pod2usage, aka the little icon that prints usage messages from embedded pod docs in files. π No cap, this one is lowkey useful.
πΈ NAME πΈ
pod2usage β print usage messages from embedded pod docs in files. β¨
π¦ SYNOPSIS π¦
The whole vibe is literally:
pod2usage [-help] [-man] [-exit exitval] [-output outfile] [-verbose
level] [-pathlist dirlist] [-formatter module] [-utf8] file
π OPTIONS AND ARGUMENTS π
-helpβ print a brief help message and exit. π«Ά-manβ print this command's manual page and exit. π-exit exitvalβ the exit status value to return. πͺ-output outfileβ the output file to print to. If the special names"-"or">&1"or">&STDOUT"are used, then standard output is used. If">&2"or">&STDERR"is used, then standard error is used. π-verbose levelβ the desired level of verbosity to use. The levels are exactly:
1 : print SYNOPSIS only
2 : print SYNOPSIS sections and any OPTIONS/ARGUMENTS sections
3 : print the entire manpage (similar to running pod2text)
-pathlist dirlistβ 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). π-formatter moduleβ which text formatter to use. Default isPod::Text, or for very old Perl versionsPod::PlainText. An alternative would be e.g.Pod::Text::Termcap. π§-utf8β this option assumes that the formatter (see above) understands the option"utf8". It turns on generation of utf8 output. πfileβ the pathname of a file containing pod documentation to be output in usage message format. If omitted, standard input is read β but the output is then formatted withPod::Textonly β unless a specific formatter has been specified with-formatter. π
π 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 pod2usage() function in the Pod::Usage module. Please see "pod2usage()" in Pod::Usage. ππ
π₯ SEE ALSO π₯
Go peek at Pod::Usage, pod2text, Pod::Text, Pod::Text::Termcap, and perldoc. π«
π AUTHOR π
Please report bugs using <http://rt.cpan.org>. π
- Brad Appleton
<bradapp@enteract.com>π - Based on code for
pod2text(1)written by Tom Christiansen<tchrist@mox.perl.com>πΈ
π Big sparkly sign-off, bestie: this page is from source/version perl v5.42.0, dated 2022-05-22, and the footer literally says POD2USAGE(1). Byeee! π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Pod-Usage 2.03-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms