WSDisco...latesTo(3)
π WSDisco...latesTo(3) β a whole manual page, bestie
okay so real talk, this is a page from the User Contributed Perl Documentation collection, and it's about a tiny little Perl class with a big name. The truncated title up top β WSDisco...latesTo(3) β is literally just WSDiscovery::Elements::RelatesTo(3) doing a little stretch-and-yawn. Come meet it π
πΈ NAME πΈ
WSDiscovery::Elements::RelatesTo β and that's the whole name, no cap.
It's a Perl data type class. Yes, class. Yes, it has one job. Yes, it's still iconic.
β¨ DESCRIPTION β¨
So this is the Perl data type class for <RelatesTo>, which is an XML Schema defined element. It lives in the namespace http://www.w3.org/2005/08/addressing β write it exactly like that, king, don't you dare typo it π₯
That's the vibe. That's the whole description. It's giving "I'm a wrapper around one XML element and I know it" π
π METHODS π
π¦ new
my $element = WSDiscovery::Elements::RelatesTo->new($data);
Constructor, bestie! You call new, you hand it some $data, and boom β you got yourself an element object. Main character energy fr fr β¨
Here's the data structure that new() accepts β and like, it's exactly this, no extra fields, no surprise guests:
{ value => $some_value },
So it's a hashref with one key, value, and $some_value goes in there. That's the tea π
π AUTHOR π
Generated by SOAP::WSDL π€
Like, the code wrote itself (well, the code wrote this class), and honestly? Slay. We love a generator that does the homework.
β¨ that's the whole page β¨
Cute little sign-off before you go: this gem is running on perl v5.42.3, and the date stamped on it is 1980-01-01 β yes, nineteen eighty, we're time traveling π°οΈπ no notes, periodt.
π¦ 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