The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::Object::Boolean - HTML Object Boolean Class

SYNOPSIS

VERSION

    v0.2.0

DESCRIPTION

This module implements simple boolean true/false objects.

It inherits from Module::Generic::Boolean

METHODS

getChildNodes

Returns and empty array object

getAttributes

Returns and empty array object

False

Creates a new Boolean object with a false value.

string_value

Returns true if true, or false if false

to_boolean

Returns the current boolean object it was called on.

to_literal

Returns the string "true" or "false".

to_number

Returns a new HTML::Object::Number object based on the current boolean value.

True

Creates a new Boolean object with a true value.

value

Returns true or false.

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.