POD2USAGE(1)

πŸ“¦ version 2.03, in opensuse-leap 16.0

🫢 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 is Pod::Text, or for very old Perl versions Pod::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 with Pod::Text only β€” 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