HTML::O...:Closing(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’– NAME πŸ’–

okay bestie, welcome to HTML::Object::Closing β€” the HTML Object Closing Tag Class. This is the HTML::O...:Closing(3) manual page, straight outta User Contributed Perl Documentation, and it's literally about closing tags. no cap πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

use HTML::Object::Closing;
my $close = HTML::Object::Closing->new(
    tag => 'div',
);
# My opening div tag object
$elem->close_tag( $close );

⭐ VERSION ⭐

v0.2.0

🌸 DESCRIPTION 🌸

This module represents the end of a tag for tags that are not empty. These objects (yes, the original literally says β€œThos”, and I’m obsessed) are in the dom by necessity, but they are not used directly. They are always attached to the object of another HTML element. 🫢

This module inherits from HTML::Object::Element.

πŸ’œ INHERITANCE πŸ’œ

+-----------------------+     +-----------------------+
| HTML::Object::Element | --> | HTML::Object::Closing |
+-----------------------+     +-----------------------+

πŸ’… CONSTRUCTOR πŸ’…

πŸŽ€ new

Creates and returns a new tag closing object. ✨

Creates new HTML::Object::Closing objects. It can also take hash-like arguments, and those arguments are also methods of the same name.

✨ METHODS ✨

On top of the methods inherited from HTML::Object::Element, this module implements also the following methods:

🌈 as_string

Returns a string version of this closing tag. Unless it was modified, it will return the version exactly the same as when it was parsed from some HTML data, if any.

πŸ¦‹ as_xml

This is an alias for as_string.

πŸ“ checksum

Returns an empty string.

🧚 set_checksum

Does absolutely nothing and is here to prevent the inherited method from being triggered.

πŸ‘‘ AUTHOR πŸ‘‘

Jacques Deguest <jack@deguest.jp>

πŸŽ€ SEE ALSO πŸŽ€

HTML::Object, HTML::Object::Attribute, HTML::Object::Boolean, HTML::Object::Closing, HTML::Object::Collection, HTML::Object::Comment, HTML::Object::Declaration, HTML::Object::Document, HTML::Object::Element, HTML::Object::Exception, HTML::Object::Literal, HTML::Object::Number, HTML::Object::Root, HTML::Object::Space, HTML::Object::Text, HTML::Object::XQuery

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.


okay bye bestie! this page is from perl v5.42.2, dated 2026-02-15, and it’s the HTML::O...:Closing(3) manual. stay slay, and close those tags properly πŸ’…βœ¨

πŸ“¦ where this page comes from