XML::XP...:Number(3)

πŸ’– NAME πŸ’–

okay so bestie, welcome to XML::XPathEngine::Number β€” Simple numeric values. The page header is out here looking like XML::XP...:Number(3) and says User Contributed Perl Documentation, but the actual class is XML::XPathEngine::Number. Slay ✨

🌸 DESCRIPTION 🌸

This class holds simple numeric values β€” it's literally just a little numeric-value holder, no cap πŸ’… It does not support -0, +/- Infinity, or NaN, even though the XPath spec says it should. The author's note is basically: "but I'm not hurting anyone I don't think." 😭 Keep that in mind, bestie.

✨ API ✨

πŸ’… new($num)

Creates a new XML::XPathEngine::Number object, with the value in $num. It does some rudimentary numeric checking on $num to ensure it actually is a number 🧚

πŸ¦‹ value()

Also as overloaded stringification. Returns the numeric value held πŸŽ€


mwah πŸ’‹ β€” this cutie is signed off by perl v5.42.0, dated 2013-06-04, on the XML::XP...:Number(3) page. Bye bestie, go handle your numbers 🫢🌈

πŸ“¦ where this page comes from