Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

XML::XPath::Number

Name XML::XPath::Number
Version 1.42
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/XML/XPath/Number.pm
Is Core No
Search CPAN for this module XML::XPath::Number
Documentation XML::XPath::Number
Module Details XML::XPath::Number

NAME

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

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024