XML::XP...:Boolean(3)
β¨ NAME β¨
okay bestie, welcome to the XML::XPathEngine::Boolean(3) page from the User Contributed Perl Documentation. This one is Boolean true/false values β yes, the name is literally XML::XPathEngine::Boolean and the vibe is true/false. That's the assignment, periodt. π
π DESCRIPTION π
So the XML::XPathEngine::Boolean objects implement simple boolean true/false objects. Lowkey iconic, highkey minimal: just true or false, no extra side quests, no drama. β¨
π οΈ API π οΈ
Here's the whole tiny squad of methods, bestie β each one is a little main character. π
π XML::XPathEngine::Boolean->True π
Makes a brand-new Boolean object with a true value. It's giving "yes bestie, absolutely, true vibes only." β
π XML::XPathEngine::Boolean->False π
Makes a fresh Boolean object with a false value. It's giving "no, nope, not today" energy. π ββοΈ
π value() π
Returns true or false. That's the whole function β no plot twist, just the answer. π
π¦ to_literal() π¦
Hands back the string "true" or the string "false". Literally those exact string values, slay. πͺ
mwah π β this iconic little page is from perl v5.42.0, dated 2013-06-04. byeee π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-XML-XPathEngine 0.14-160000.2.2 Β· GPL-1.0+ or Artistic-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms