NAME

HTML::Object::Comment - HTML Object Comment Element Class

SYNOPSIS

use HTML::Object::Comment;
my $this = HTML::Object::Comment->new || 
    die( HTML::Object::Comment->error );

VERSION

v0.2.0

DESCRIPTION

This module represents an HTML comment

INHERITANCE

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

PROPERTIES

There are no properties.

METHODS

as_string

Returns the HTML comment as a string.

as_xml

Returns the comment as an XML string., which is almost the same format as with "as_string"

close_seq

Set or get the string used as a close sequence.

open_seq

Set or get the string used as an open sequence.

set_checksum

Read-only.

Get the element md5 checksum for the current value.

value

Set or get the comment inner value, i.e. the text within, as a scalar object

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

https://html.spec.whatwg.org/multipage/syntax.html#the-doctype

https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode

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.