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
--backlinkโ turns=head1directives 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
--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 tellsPod::Htmlthe root of the documentation tree.
๐จ do not use this and--htmlrootin the same call topod2html; 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--htmldirinstead. Also do not pass both this and--htmldirtopod2html; 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 fromSTDINif no infile is specified.
outfile
--outfile=nameโ specifies the HTML file to create. Output goes toSTDOUTif 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 thepodrootcontain 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 inpodpath. 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 ๐ฆ
perlpodPod::Html
๐ COPYRIGHT ๐
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
- alpine 3.24: perl-doc 5.42.3-r0 ยท Artistic-1.0-Perl 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