HTML::O...Closing(3)
π HTML::Object::DOM::Closing(3) π
okay so bestie, this one's called HTML::Object::DOM::Closing β it's an HTML Object module and it's honestly so simple it's giving minimalist queen β¨
πΈ SYNOPSIS
use HTML::Object::DOM::Closing;
my $this = HTML::Object::DOM::Closing->new( tag => 'div' ) ||
die( HTML::Object::DOM::Closing->error, "\n" );
that's it. that's the whole vibe check π
β VERSION
v0.2.0
π¦ DESCRIPTION
so this module implements a closing tag for the DOM, no cap. it inherits from HTML::Object::Closing and HTML::Object::DOM::Node β two parents, main character energy fr fr π
and here's the lil plot twist: closing tags exist, but they're not part of the nodes, so they're literally transparent. like, they're there but they're not there, y'know? iykyk π
π INHERITANCE
look at this family tree bestie, it's iconic:
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Closing |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+
| ^
| |
v |
+-----------------------+ |
| HTML::Object::Closing | ------------------------------------------------------------------------+
+-----------------------+
π PROPERTIES
there is no property. none. zero. empty. it's giving "i have nothing to declare" πβ¨
π METHODS
π getAttributes
returns an empty list in list context, or an empty array reference in scalar context.
π getChildNodes
returns an empty list in list context, or an empty array reference in scalar context.
π getElementById
returns an empty list in list context, or undef in scalar context.
π getFirstChild
returns an empty list in list context, or undef in scalar context.
π getLastChild
returns an empty list in list context, or undef in scalar context.
π getParentNode
returns the parent node, if any. (if any!! conditional queen π«Ά)
π getRootNode
returns the root node. that's it. that's the whole method.
π isAttributeNode
returns false.
π isCommentNode
returns false.
π isElementNode
returns false.
π isEqualNode
hand it another element object, and it returns true if both closing elements have the same tag value, or false otherwise. matching tags = slay, mismatched = not slay π
π isNamespaceNode
returns false.
π isPINode
returns false.
π isProcessingInstructionNode
returns false.
π isTextNode
returns false.
ngl the is*Node squad is real quiet β every single one of them says false. they said "not me, not today" π
π§ AUTHOR
Jacques Deguest <jack@deguest.jp>
π₯ SEE ALSO
"close" in HTML::Object::Element β go read that one next bestie, it's the sequel π
π COPYRIGHT & LICENSE
Copyright(c) 2021 DEGUEST Pte. Ltd.
All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
and that's the whole page!! mwah π generated with perl v5.42.2, dated 2026-02-15 β see u in the next manpage bestie, stay hydrated and keep your tags closed π«Άβ¨π
π¦ where this page comes from
- alpine 3.24: perl-html-object-doc 0.6.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms