XML::XP...:Boolean(3)
π XML::XPath::Boolean π
okay so bestie, welcome to XML::XPath::Boolean(3) β it's a User Contributed Perl Documentation page, and it is exactly what it sounds like: little boolean true/false objects. no cap. that's the whole vibe. π
β¨ NAME β¨
XML::XPath::Boolean β Boolean true/false values π¦
πΈ DESCRIPTION πΈ
ok so listen. XML::XPath::Boolean objects implement simple boolean true/false objects. that's it. that's the whole thing. they're booleans. they're objects. they're object booleans. iconic behaviour honestly. π
π API π
π«Ά XML::XPath::Boolean->True
Creates a new Boolean object with a true value. slay. it's true. β¨
π XML::XPath::Boolean->False
Creates a new Boolean object with a false value. the flop era. but like, on purpose. π
π value()
Returns true or false. that's the whole job and it does it beautifully. π
π§ to_literal()
Returns the string "true" or "false". yes, as an actual string, not a boolean. it's giving "let me spell it out for you." π
and that's the whole page bestie!! πβ¨ this was perl v5.42.1, dated 2026-04-21 β love that for us. go forth and boolean responsibly. ππ¦π
π¦ where this page comes from
- fedora 44: perl-XML-XPath 1.49-1.fc44 Β· Artistic-2.0 AND (GPL-1.0-or-later OR Artistic-1.0-Perl)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms