HTML::Object::Number - Simple numeric values
use HTML::Object::Number; my $this = HTML::Object::Number->new || die( HTML::Object::Number->error, "\n" );
v0.2.0
This class holds simple numeric values. It does not support -0, +/- Infinity, or NaN, as the XPath spec says it should, but I am not hurting anyone I do not think.
Provided with a number and this creates a new HTML::Object::Number object. Does some rudimentary numeric checking on the number to ensure it actually is a number.
number
Returns a string representation of the current value as xml.
Returns the current object.
Returns an empty hash object
Returns an empty array object
Returns a boolean value which indicates whether or not two elements are of the same type and all their defining data points match.
Two elements are equal when they have the same type, defining characteristics (this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the elements.
See for more information
Returns the current value.
Returns the current value as a boolean object.
Returns the current value as a literal object.
Also as overloaded stringification. Returns the numeric value held.
Jacques Deguest <jack@deguest.jp>
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 (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.