1Tree::XPathEngine::NumbUesre(r3)Contributed Perl DocumenTtraetei:o:nXPathEngine::Number(3)
2
3
4

NAME

6       Tree::XPathEngine::Number - Simple numeric values.
7

DESCRIPTION

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

API

14   new($num)
15       Creates a new Tree::XPathEngine::Number object, with the value in $num.
16       Does some rudimentary numeric checking on $num to ensure it actually is
17       a number.
18
19   value()
20       Also as overloaded stringification. Returns the numeric value held.
21
22   Other Methods
23       Those are needed so the objects can be properly processed in various
24       contexts
25
26       as_string
27       as_xml
28       value
29       xpath_cmp
30       evaluate
31       xpath_to_boolean
32       xpath_to_literal
33       xpath_to_number
34       xpath_string_value
35
36
37
38perl v5.28.0                      2006-02-12      Tree::XPathEngine::Number(3)
Impressum