pod2html
Convert Perl POD documentation to HTML
TLDR
SYNOPSIS
pod2html [options]
DESCRIPTION
pod2html converts Perl POD (Plain Old Documentation) source into HTML, resolving L<> hyperlinks and converting POD formatting directives to HTML markup. It can optionally prepend a table of contents built from =head directives and insert backlinks between headings and the top of the document.The utility relies on a cache (by default stored in the working directory) that maps pod names to URLs so that cross-references between pages are resolved efficiently across multiple runs. Use --flush after moving or renaming source pods.
PARAMETERS
--infile=name
POD input file. Defaults to STDIN.--outfile=name
HTML output file. Defaults to STDOUT.--title=name
Set the HTML document title.--css=URL
Link to a cascading style sheet.--index / --noindex
Include or omit a table of contents at the top of the HTML output. Enabled by default.--backlink / --nobacklink
Add links from each heading back to the top of the page.--header / --noheader
Emit banner headers and footers derived from the POD NAME section.--htmldir=name
Directory used when generating relative cross-references to other HTML files.--htmlroot=URL
Base URL for absolute HTML cross-reference links.--podpath=dirs
Colon-separated list of directories containing pod files used for resolving L<> links.--podroot=name
Base directory for library pod files.--cachedir=name
Directory in which pod2html stores its cache. Default: current directory.--flush
Clear the cache before processing.--recurse / --norecurse
Recurse into subdirectories specified by --podpath.--quiet / --verbose
Suppress warnings or show progress messages.--poderrors / --nopoderrors
Include or omit a POD errors section in the output.
INSTALL
CAVEATS
The cache is created in the current directory by default and can surprise users who expect a stateless tool; use --cachedir to relocate it or --flush to rebuild it.
HISTORY
pod2html ships with the standard Perl distribution as part of the Pod::Html module and has been included since early Perl 5 releases.