XML::XPath::Number(3pm)

XML::XPath::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::XPath::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

13 releases since Debian 3.0 (Woody); the text changed 6 times.

  1. 3.0
  2. 3.1–5.0
  3. 6.0–8
  4. 9
  5. 10–11
  6. 12–13
  7. Arch

From perl-xml-xpath 1.49-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.