HTML::O...:Closing(3)
π 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 & 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.
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
- 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