HTML::Object::DOM::Closing - HTML Object
use HTML::Object::DOM::Closing; my $this = HTML::Object::DOM::Closing->new( tag => 'div' ) || die( HTML::Object::DOM::Closing->error, "\n" );
v0.2.0
This module implements a closing tag for the DOM. It inherits from HTML::Object::Closing and HTML::Object::DOM::Node
Closing tags exists, but are not part of the nodes, so they are transparent.
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ | HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Closing | +-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ | ^ | | v | +-----------------------+ | | HTML::Object::Closing | ------------------------------------------------------------------------+ +-----------------------+
There is no property.
Returns an empty list in list context, or an empty array reference in scalar context.
Returns an empty list in list context, or undef in scalar context.
undef
Returns the parent node, if any.
Returns the root node
Returns false.
Provided with another element object, and this returns true if both closing element have the same tag value, or false otherwise.
Jacques Deguest <jack@deguest.jp>
"close" in HTML::Object::Element
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.
To install HTML::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Object
CPAN shell
perl -MCPAN -e shell install HTML::Object
For more information on module installation, please visit the detailed CPAN module installation guide.