HTML::Object::XPath::Boolean - HTML Object
use HTML::Object::XPath::Boolean; my $this = HTML::Object::XPath::Boolean->new || die( HTML::Object::XPath::Boolean->error, "\n" );
v0.2.0
This module implements simple boolean true/false objects.
This method is called for overloading the comparison operator.
It takes another element and it returns true if the two elements are same or false otherwise.
Returns an empty list in list context and an empty array reference in scalar context.
Returns the current value as a literal
Returns the current object.
Returns true if true, or false otherwise, as a literal object
true
false
Returns the current value as a number object
Creates a new Boolean object with a true value.
HTML::Object::XPath::Boolean->True;
Creates a new Boolean object with a false value.
HTML::Object::XPath::Boolean->False;
Returns true or false.
Jacques Deguest <jack@deguest.jp>
HTML::Object::XPath, HTML::Object::XPath::Boolean, HTML::Object::XPath::Expr, HTML::Object::XPath::Function, HTML::Object::XPath::Literal, HTML::Object::XPath::LocationPath, HTML::Object::XPath::NodeSet, HTML::Object::XPath::Number, HTML::Object::XPath::Root, HTML::Object::XPath::Step, HTML::Object::XPath::Variable
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.