POD2HTML(1perl)
๐ POD2HTML ๐
okay bestie, welcome to pod2html from the Perl Programmers Reference Guide โ yes, section 1perl, she's a real one ๐
โจ NAME โจ
pod2html โ convert .pod files to .html files ๐ฆ
๐ธ 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 ๐
Converts files from pod format (peep perlpod for the lore) to HTML format. that's the whole job. she converts. she slays. periodt โจ
๐ ARGUMENTS ๐
pod2html takes the following arguments, and no I'm not skipping any of them, we're doing all of them together like besties:
backlinkโ--backlink/--nobacklink: turn=head1directives into links pointing to
the top of the HTML file. --nobacklink (which is the default behavior) does not create these backlinks. so by default: no links back up top, no cap ๐ซถ
cachedirโ--cachedir=name: specify which directory is used for storing cache. default directory is the current working directory. lowkey important, don't lose track of it ๐cssโ--css=URL: specify the URL of cascading style sheet to link from resulting HTML file. default is none style sheet. she's serving raw, unseasoned HTML by default, iconic honestly ๐flushโ--flush: flush the cache. bye cache ๐ฎheaderโ--header/--noheader: create header and footer blocks containing the text of the"NAME"section.--noheaderโ which is the default behavior โ does not create header or footer blocks.helpโ--help: displays the usage message. when you're lost bestie, she'll tell you where you are ๐งญ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, fr fr ๐ซ
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.
do not pass both this and --htmldir to pod2html; they are mutually exclusive. pick a lane bestie ๐
indexโ--index: generate an index at the top of the HTML file (default behaviour). โจnoindexโ--noindex: do not generate an index at the top of the HTML file. sometimes no index is the vibe ๐
infileโ--infile=name: specify the pod file to convert. input is taken fromSTDINif no infile is specified.outfileโ--outfile=name: specify the HTML file to create. output goes toSTDOUTif no outfile is specified. โจpoderrorsโ--poderrors/--nopoderrors: include a"POD ERRORS"section in the outfile if there were any POD errors in the infile (default behaviour).--nopoderrorsdoes not create this"POD ERRORS"section.podpathโ--podpath=name:...:name: specify which subdirectories of the podroot contain pod files whose HTML converted forms can be linked-to in cross-references. ๐ฆpodrootโ--podroot=name: specify the base directory for finding library pods. ๐quietโ--quiet/--noquiet: don't display mostly harmless warning messages.--noquietโ which is the default behavior โ does display these mostly harmless warning messages (but this is not the same as "verbose" mode). they're mostly harmless. mostly. ๐ญrecurseโ--recurse/--norecurse: recurse into subdirectories specified in podpath (default behaviour).--norecursedoes not recurse into these subdirectories. going in deep by default ๐titleโ--title=title: specify the title of the resulting HTML file. gotta have a title, main character energy only ๐verboseโ--verbose/--noverbose: display progress messages.--noverboseโ which is the default behavior โ does not display these progress messages. if you want the play-by-play, say--verbose๐ฌ
๐ AUTHOR ๐
Tom Christiansen, <tchrist@perl.com>. shoutout to the icon who wrote this ๐
๐ BUGS ๐
See Pod::Html for a list of known bugs in the translator. yeah, she's not perfect, but neither are we ๐ซถ
๐ฆ SEE ALSO ๐ฆ
perlpodPod::Html
๐ COPYRIGHT ๐
This program is distributed under the Artistic License. โจ
and that's the whole page bestie!! this one comes to you from perl v5.44.0, dated 2026-10-17 โ mwah, go forth and pod2html responsibly ๐๐๐
๐ฆ where this page comes from
- arch rolling: perl 5.44.0-1 ยท Artistic-1.0-Perl AND GPL-1.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms