PERL2HTML(1p)
π perl2html β NAME π
okay bestie, listen: perl2html generates Perl documentation in HTML. that's it, that's the whole vibe β¨ it's the little script that takes your dusty old POD and makes it β¨glowβ¨ on the web.
πΈ SYNOPSIS πΈ
perl2html [--[no]toc] [--hr level] [--bgcolor #rrggbb] [--text #rrggbb]
[--v verbosity] PerlDir HTMLDir
yes, those brackets are real, no, you can't skip them, iykyk π«Ά
π¦ DESCRIPTION π¦
okay so perl2html translates Perl documentation to HTML. literally its whole job. main character energy fr π
PerlDir is the root of the Perl source tree. like, the top of it. the mothership π³
The HTML pages are organized into a directory tree rooted at HTMLDir. so it's not just one big pile of files, it's a whole lil ecosystem in there ππ¦π
A top-level index is written to HTMLDir"/index.html" β that's your front door, your landing page, the thing you send people to π
In addition to the Perl sources, perl2html searches @INC for module PODs, and $ENV{PATH} for program PODS. so it's out here scavenging, collecting lore from everywhere πβ¨
All the HTML pages are created world-readable. everyone can see them. no gatekeeping here π
Perldir and HTMLDir must be absolute path names. not relative, not vibes-based, ABSOLUTE. i'm serious bestie, it will simply not work otherwise π
β¨ OPTIONS β¨
--["no"]tocβ Includes or omits a table of contents in each page. Default is to include the TOC. so if you want it, you get it (that's the default anyway), and if you're feeling minimalist, hit it with thenoπ--hrlevel β Controls the profusion of horizontal lines in the output, as follows:
level horizontal lines
0 none
1 between TOC and body
2 after each =head1
3 after each =head1 and =head2
Default is level 1. so basically: how many cute lil lines do you want breaking up your page? zero? iconic. after every =head1 and =head2? chaotic, love that for you π
--bgcolor#rrggbb β Set the background color to#rrggbb. Default is off-white. it's giving cozy cream paper aesthetic βοΈ--text#rrggbb β Set the text color to#rrggbb. Default is black. classic, timeless, cannot go wrong π€--vverbosity β Verbosity level:0,1,2,3. pick your volume bestie π
π«Ά REQUIRES π«Ά
Perl 5 Getopt::Long. that's the whole list, that's the tea π
π₯ SEE ALSO π₯
pods2htmlPod::TreePod::Tree::HTMLPod::Tree::PerlBinPod::Tree::PerlDistPod::Tree::PerlFuncPod::Tree::PerlLibPod::Tree::PerlMapPod::Tree::PerlPodPod::Tree::PerlTop
the whole Pod::Tree fam, they're all connected, it's a whole universe π
π AUTHOR π
Steven McDougall, swmcd@world.std.com β the icon who made all this happen π
π COPYRIGHT π
Copyright 2000 by Steven McDougall. This program is free software; you can redistribute it and/or modify it under the same terms as Perl.
and that's the whole page, bestie!! this lil manual is from perl v5.36.0, dated 2022-11-19, and it's filed under PERL2HTML(1p) in the User Contributed Perl Documentation section π¦β¨ go forth and generate some gorgeous HTML, ily, mwah π
π¦ where this page comes from
- debian bookworm: libpod-tree-perl 1.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libpod-tree-perl 1.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpod-tree-perl 1.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpod-tree-perl 1.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpod-tree-perl 1.31-2 Β· Artistic-1.0-Perl OR 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