POD2HTML(1)

๐ŸŒธ NAME ๐ŸŒธ

hey bestie, welcome to POD2HTML(1) from the Perl Programmers Reference Guide โ€” yep, the pod2html page. pod2html converts .pod files to .html files. Itโ€™s giving tiny translator icon energy โœจ.


๐Ÿ› ๏ธ SYNOPSIS ๐Ÿ› ๏ธ

    pod2html --help --htmldir=<name> --htmlroot=<URL>
             --infile=<name> --outfile=<name>
             --podpath=<name>:...:<name> --podroot=<name>
             --cachedir=<name> --flush --recurse --norecurse
             --quiet --noquiet --verbose --noverbose
             --index --noindex --backlink --nobacklink
             --header --noheader --poderrors --nopoderrors
             --css=<URL> --title=<name>

๐Ÿ’– DESCRIPTION ๐Ÿ’–

pod2html converts files from pod format (see perlpod) to HTML format. Thatโ€™s literally the whole mission, and it ate ๐Ÿ’….


๐ŸŽ€ ARGUMENTS ๐ŸŽ€

pod2html takes the following arguments, bestie โ€” every single one, no skipping:

  • --backlink โ€” turns =head1 directives into links pointing to the top of the HTML file.
  • --nobacklink โ€” does not create these backlinks. This is the default behavior.

cachedir

  • --cachedir=name โ€” picks which directory is used for storing cache. The default directory is the current working directory.

css

  • --css=URL โ€” gives the URL of a cascading style sheet to link from the resulting HTML file. Default is none style sheet.

flush

  • --flush โ€” flushes the cache. bye cache, love u ๐Ÿซถ
  • --header โ€” creates header and footer blocks containing the text of the "NAME" section.
  • --noheader โ€” does not create header or footer blocks. This is the default behavior.

help

  • --help โ€” displays the usage message. iconic.

htmldir

  • --htmldir=name โ€” sets the directory to which all cross references in the resulting HTML file will be relative. Not passing this causes all links to be absolute, since this is the value that tells Pod::Html the root of the documentation tree.
๐Ÿšจ do not use this and --htmlroot in the same call to pod2html; they are mutually exclusive. thatโ€™s the rule, periodt.

htmlroot

  • --htmlroot=URL โ€” sets the base URL for the HTML files. When cross-references are made, the HTML root is prepended to the URL.
๐Ÿšจ do not use this if relative links are desired โ€” use --htmldir instead. Also do not pass both this and --htmldir to pod2html; they are mutually exclusive.

index

  • --index โ€” generates an index at the top of the HTML file. This is the default behaviour.

noindex

  • --noindex โ€” does not generate an index at the top of the HTML file.

infile

  • --infile=name โ€” specifies the pod file to convert. Input is taken from STDIN if no infile is specified.

outfile

  • --outfile=name โ€” specifies the HTML file to create. Output goes to STDOUT if no outfile is specified.

poderrors

  • --poderrors โ€” includes a "POD ERRORS" section in the outfile if there were any POD errors in the infile. This is the default behaviour.
  • --nopoderrors โ€” does not create this "POD ERRORS" section.

podpath

  • --podpath=name:...:name โ€” specifies which subdirectories of the podroot contain pod files whose HTML converted forms can be linked-to in cross-references.

podroot

  • --podroot=name โ€” specifies the base directory for finding library pods.

quiet

  • --quiet โ€” donโ€™t display mostly harmless warning messages.
  • --noquiet โ€” displays these mostly harmless warning messages. This is the default behavior (but this is not the same as "verbose" mode).

recurse

  • --recurse โ€” recurses into subdirectories specified in podpath. This is the default behaviour.
  • --norecurse โ€” does not recurse into these subdirectories.

title

  • --title=title โ€” specifies the title of the resulting HTML file.

verbose

  • --verbose โ€” displays progress messages.
  • --noverbose โ€” does not display these progress messages. This is the default behavior.

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Tom Christiansen, <tchrist@perl.com>.


๐Ÿ’€ BUGS ๐Ÿ’€

See Pod::Html for a list of known bugs in the translator. (not me manifesting bugs, just reporting the tea ๐Ÿต)


๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

  • perlpod
  • Pod::Html

This program is distributed under the Artistic License.


mwah ๐Ÿ’‹ this page is from perl v5.42.3, dated 2026-11-03 โ€” thatโ€™s the footer tea, bestie, and weโ€™re done. ๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from