Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

XML::LibXML::Number (3)

Name

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

Synopsis

Please see following description for synopsis

Description

User Contributed Perl Documentation                     XML::LibXML::Number(3)



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.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-------------------------------+
       |ATTRIBUTE TYPE |       ATTRIBUTE VALUE         |
       +---------------+-------------------------------+
       |Availability   | library/perl-5/xml-libxml-532 |
       +---------------+-------------------------------+
       |Stability      | Volatile                      |
       +---------------+-------------------------------+

NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-
       LibXML-2.0201.tar.gz.

       Further information about this software can be found on the open source
       community website at http://search.cpan.org/~shlomif/XML-LibXML/.



perl v5.32.0                      2019-05-25            XML::LibXML::Number(3)