WSDisc...ipType(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– WSDisc...ipType β€” the whole vibe πŸ’–

ok bestie, sit down, hydrate, and let me tell you about WSDisc...ipType πŸ’… it's a Perl thing, it lives in the User Contributed Perl Documentation section (that's the 3pm part, iykyk), and honestly? she's giving ✨niche✨ but we're gonna understand her together. 🫢


🌸 NAME 🌸

Perl data type class for the XML Schema defined simpleType OpenRelationshipType from the namespace http://schemas.xmlsoap.org/ws/2005/04/discovery. πŸ¦‹


✨ DESCRIPTION ✨

So basically πŸ’– this class is a Perl data type class, and it's representing a simpleType that XML Schema calls OpenRelationshipType, and that type comes from the namespace http://schemas.xmlsoap.org/ws/2005/04/discovery. That's the whole situaysh. No cap. πŸ‘‘

This type class is derived by union. Which sounds iconic and it kind of is, butβ€”

😭 okay so here's the tea, and it's not great tea: derivation by union is not fully supported yet. Value space constraints are not checked yet. So don't come for me if your values are unhinged, because nobody's checking them. 🫠

And here's why: the current implementation of union resorts to inheriting from the base type, which means β€” and I'm quoting the XML Schema specs directly, character for character, because the ancestors said it best:

"If the <list> or <union> alternative is chosen, then the simple ur-type definition."

That's the spec's words, not mine. She's mysterious. She's vague. She's the simple ur-type definition. πŸ’€


πŸŽ€ METHODS πŸŽ€

🧚 new

Constructor. That's it, that's her job β€” she makes a new one. Slay. ✨

🧚 get_value / set_value

Getter and setter for the simpleType's value. You wanna know the value? get_value. You wanna change the value? set_value. Symmetry, bestie. It's giving balance. 🌈


πŸ’… OVERLOADING πŸ’…

Depending on the simple type's base type, the following operations are overloaded:

  • Stringification πŸ“
  • Numerification πŸ”₯
  • Boolification πŸ’œ

Check SOAP::WSDL::XSD::Typelib::Builtin for more information, because that's where the lore lives. πŸ“š


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. She was born, not written. Iconic origin story, fr fr. πŸŽ€


ok and one last lil sign-off bestie 🌸 β€” this whole page is running on perl v5.40.1 and it was stamped 2026-02-01, so if you're reading this from the future, hi, ily, the union stuff still probably isn't fully supported. πŸ«ΆπŸ’– mwah, go write some Perl. πŸ¦‹βœ¨

πŸ“¦ where this page comes from