WSDisc...aultTo(3pm)
π NAME π
okay bestie, say hi to WSDiscovery::Elements::FaultTo β she's a whole Perl data type class, and she lives in the User Contributed Perl Documentation, section 3pm. Yes, the page title gets squished down to WSDisc...aultTo(3pm) because Unix headers are allergic to long names, but the real one is the full WSDiscovery::Elements::FaultTo. No cap. π«Ά
β¨ DESCRIPTION β¨
She's the Perl data type class for the XML Schema defined element FaultTo, and she reps the namespace http://www.w3.org/2005/08/addressing. That's it, that's the whole vibe. It's giving very niche, very specific, very main character in an XML schema energy. π
πΈ METHODS πΈ
π¦ new π¦
my $element = WSDiscovery::Elements::FaultTo->new($data);
okay so this is the constructor, bestie. She's the one who builds your element. π You hand her some $data and she justβ¦ makes it happen.
The following data structure may be passed to new() β copy this exactly, do not freestyle, I'm serious:
{ # WSDiscovery::Types::EndpointReferenceType
Address => { value => $some_value },
ReferenceParameters => { # WSDiscovery::Types::ReferenceParametersType
},
Metadata => { # WSDiscovery::Types::MetadataType
},
},
See how Address wants a value key, and ReferenceParameters and Metadata are just chillin' there as empty nested hashes? Yeah. That's the shape. Respect the shape. π
ngl, those nested comments telling you the exact type (WSDiscovery::Types::EndpointReferenceType,WSDiscovery::Types::ReferenceParametersType,WSDiscovery::Types::MetadataType) are doing the lord's work. Read them. Love them. π
π AUTHOR π
Generated by SOAP::WSDL. She didn't write herself, she was born this way, iconic behavior fr fr. β
perl v5.40.1 Β· 2026-02-01 β that's the version and the date, mwah, thanks for coming to my TED talk, slay, periodt. π β¨π¦
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms