XML::LibXML::Number - Simple numeric values.
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.
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.
Also as overloaded stringification. Returns the numeric value held.
To install XML::LibXML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::LibXML
CPAN shell
perl -MCPAN -e shell install XML::LibXML
For more information on module installation, please visit the detailed CPAN module installation guide.