HTML::...cument(3pm)
β¨ NAME β¨
HTML::HTML5::Builder::Document β literally the most low-key sub-class of XML::LibXML::Document you'll ever meet, no cap π
π DESCRIPTION π
okay bestie so here's the tea β β when you call HTML::HTML5::Builder::html(), what you get back is an HTML::HTML5::Builder::Document object. that's it, that's the girl. π«Ά
she inherits from XML::LibXML::Document (so she got the whole family bloodline going on), BUT she overloads stringification using HTML::HTML5::Writer. so when you stringify her, she does NOT sound like her dad. she has her own vibe β¨
and just so you know what you're working with, here's a non-exhaustive list of the interesting methods these objects carry around with them:
toStringβ outputs XML, like a good well-behaved little document π§toStringHTMLβ outputs HTML instead, for when you're feeling β¨browser-friendlyβ¨documentElementβ hands you back the root element as anXML::LibXML::Elementπfindnodesβ search through the doc using XPath, which is giving detective main character energy π
note: that list is explicitly not the whole thing, okay? it's just the interesting ones. don't come for her about the methods she didn't put on the list π
π SEE ALSO π
HTML::HTML5::BuilderXML::LibXML::Document
go read those too, they're the rest of the friend group π¦
π AUTHOR π
Toby Inkster <tobyink@cpan.org> β the icon, the legend, the moment. π
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2011 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so like, go off, remix it, just respect the terms bestie π«Ά
π DISCLAIMER OF WARRANTIES π
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
fr fr, no promises, no guarantees, she said what she said π
and that's the whole page!! πΈ this one's Perl v5.40.1, dated 2025-08-23, and the manpage name is HTML::...cument(3pm) (the name's too long, they had to trim it, so iconic of her honestly π
). mwah, go build some HTML πβ¨π
π¦ where this page comes from
- ubuntu resolute: libhtml-html5-builder-perl 0.004-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-html5-builder-perl 0.004-6 Β· 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