XML::XPathEngine::Number(3pm)

XML::XPathEngine::Number3pm

Simple numeric values.

Overview

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::XPathEngine::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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7–9
  4. 10–11
  5. 12–13

From libxml-xpathengine-perl 0.14-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.