HTML::O...Closing(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’– 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(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