WSDisco...::Types(3)
β¨ WSDiscovery::Elements::Types π
okay so real talk, bestie β this is the WSDiscovery::Elements::Types page from the WSDisco...::Types(3) manual, and it's honestly one of those tiny little pages that's giving "quiet luxury." it's a whole Perl class, and it's genuinely iconic in its simplicity. let's get into it π«Ά
πΈ NAME πΈ
WSDiscovery::Elements::Types β that's the whole name, that's the whole vibe. she's a Perl data type class, periodt. π
π¦ DESCRIPTION π¦
so what does this class actually do? she's a Perl data type class for the XML Schema defined element Types, and that element lives in the namespace http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01. that's it, that's the whole description, and honestly? no notes. she knows what she is. π
like, literally, if you're working with WS-Discovery XML and you need the Types element modeled as a Perl object, this is your girl. the namespace URL above is the exact one, character for character, so don't go freestyling it, bestie β copy it exactly. π
π METHODS π
β new
my $element = WSDiscovery::Elements::Types->new($data);
this is the constructor, bestie. you call new on the class, hand it some $data, and boom β you've got yourself an element object. main character energy fr fr. π₯
here's the data structure situation you can pass to new():
$some_value, # QNameListType
so yeah β $some_value, and the comment tells you it's a QNameListType. that's the whole shape of the data. no cap, that's it. π
π§ AUTHOR π§
this bad boy was Generated by SOAP::WSDL. not hand-written, not artisanal β machine-generated and still slaying. π
and that's the page! cute little sign-off for you: this one's perl v5.42.3, dated 1980-01-01 (yes really, that date is not a typo, bestie π), straight from the User Contributed Perl Documentation. go forth and instantiate responsibly πβ¨
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms