Pod::P...::HTML(3pm)
π Pod::PseudoPod::HTML(3pm) π
okay so bestie, welcome to Pod::PseudoPod::HTML β it's the Perl module that formats PseudoPod as HTML. yes, that's the whole vibe. no cap.
This is from the User Contributed Perl Documentation, and it's giving iconic formatter energy β¨
β¨ NAME β¨
Pod::PseudoPod::HTML β format PseudoPod as HTML π
πΈ SYNOPSIS πΈ
use Pod::PseudoPod::HTML;
my $parser = Pod::PseudoPod::HTML->new();
...
$parser->parse_file('path/to/file.pod');
like... that's it. that's the whole thing. slay π
π¦ DESCRIPTION π¦
So this class is a formatter, right? It takes PseudoPod and renders it as wrapped html. That's its whole job and it does it.
It's a subclass of Pod::PseudoPod and it inherits all its methods, so everything your PseudoPod parser could do before? still there. periodt π
π METHODS π
π add_body_tags
$parser->add_body_tags(1);
$parser->parse_file($file);
This one adds beginning and ending <html> and <body> tags to the formatted document. like it literally just wraps the whole thing up for you π
π add_css_tags
$parser->add_css_tags(1);
$parser->parse_file($file);
okay so this one imports a css stylesheet into the html document, and also adds additional css tags to url, footnote, and sidebar elements so everything displays nicer β¨
β οΈ but listen β if you're not planning on writing astyle.cssfile (or using the one provided inexamples/), you probably don't want this option on. fr fr. it'll just be looking for a stylesheet that isn't there bestie π
π SEE ALSO π
Pod::PseudoPodPod::Simple
π COPYRIGHT π
Copyright (c) 2003-2004 Allison Randal. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module.
This library is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. (so like, it's free, be cool about it π«Ά)
β AUTHOR β
Allison Randal <allison@perl.org> π
and that's the whole page bestie!! π
this was perl v5.36.0, dated 2022-10-16 β shoutout to the Pod::PseudoPod::HTML(3pm) era, we love her π¦β¨
π¦ where this page comes from
- ubuntu noble: libpod-pseudopod-perl 0.19-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpod-pseudopod-perl 0.19-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpod-pseudopod-perl 0.19-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