POD2THREAD(1p)
π pod2thread β the manual, but make it make sense π
okay bestie, so this is pod2thread(1p), living under the User Contributed Perl Documentation umbrella (iykyk, that's the fancy corner of the man pages where the cool Perl kids hang out). Let's get into it π«Ά
β¨ NAME β¨
pod2thread β literally converts POD data into the HTML macro language called thread. that's the whole job. slay π
πΈ SYNOPSIS πΈ
pod2thread [-chn] [-s style] [-t title]
[input [output]]
look at her. small. efficient. main character energy β¨
π¦ DESCRIPTION π¦
so pod2thread is a front-end for Pod::Thread. she doesn't do the heavy lifting herself β nope β she hands your stuff off to that module, and that module generates thread source from POD source. teamwork, periodt π
input is the file she reads for POD source. and no, the POD doesn't have to be alone β it can be embedded in code, she'll find it π
if input isn't given, it defaults to STDIN. classic.
output, if you give it, is the file where the thread output gets written. if output isn't given, the output goes to STDOUT. simple as that π
π OPTIONS π
-c,--contentsβ generate a table of contents as the first section of the resulting thread file, with links to each top-level heading. cute little map at the top, obsessed πΊοΈ-n,--navbarβ generate a navigation bar at the top of the resulting thread file, with links to each top-level heading. also links, also top-of-page, just a different vibe β¨-h,--helpβ print out usage information and exit. the "help me bestie" button π«Ά-sstyle,--style=style β in the generated thread source, include a reference to the style sheet style. and listen: if you don't pass this option, **no style sheet reference will be included. none. zero. so if you want the glow-up, you gotta ask for it π- *
-t*title,--title=title β use title as the title of the page instead of looking for aNAMEsection in the POD document. so she doesn't have to go hunting for your name, you just hand it over. iconic π
π DIAGNOSTICS π
if pod2thread fails with errors, go check out Pod::Thread and Pod::Simple for info about what those errors might mean. she's not gatekeeping, she's just forwarding you to the right group chat π
internally, she can also produce this one diagnostic:
Unknown option: %s
(F) An unknown command line option was given.
and on top of that, other Getopt::Long error messages may show up from invalid command-line options. so if it's yelling and it's not on this list, that's probably where it came from π
π AUTHOR π
Russ Allbery <rra@cpan.org>
π COPYRIGHT AND LICENSE π
Copyright 2002, 2013, 2021 Russ Allbery <rra@cpan.org>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
okay that whole block is the legal bit and you should not skip it β it's giving "read the terms", and fr fr it matters π
π SEE ALSO π
Pod::Simple, Pod::Thread
this program is part of the Pod-Thread distribution. the current version of Pod-Thread is available from CPAN, or directly from its web site at <https://www.eyrie.org/~eagle/software/pod-thread/>. go get her β
and that's the whole page, bestie π this one came from perl v5.32.1, dated 2021-12-26, filed under POD2THREAD(1p). mwah, go convert some POD πΈπ§ββοΈ
π¦ where this page comes from
- debian bookworm: libpod-thread-perl 3.01-1 Β· MIT
- debian trixie: libpod-thread-perl 3.01-1 Β· MIT
- ubuntu jammy: libpod-thread-perl 3.01-1 Β· MIT
- ubuntu noble: libpod-thread-perl 3.01-1 Β· MIT
- ubuntu resolute: libpod-thread-perl 3.01-1 Β· MIT
- ubuntu stonking: libpod-thread-perl 3.01-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms