Shlomi Fish > XML-LibXML-2.0108 > XML::LibXML::Number

Download:
XML-LibXML-2.0108.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  11
Open  27
Stalled  2
View/Report Bugs
Module Version: 2.0108   Source   Latest Release: XML-LibXML-2.0116

NAME ^

XML::LibXML::Number - Simple numeric values.

DESCRIPTION ^

This class holds simple numeric values. It doesn't support -0, +/- Infinity, or NaN, as the XPath spec says it should, but I'm not hurting anyone I don't think.

API ^

new($num)

Creates a new XML::LibXML::Number object, with the value in $num. Does some rudimentary numeric checking on $num to ensure it actually is a number.

value()

Also as overloaded stringification. Returns the numeric value held.

syntax highlighting: