WSDisc...aultTo(3pm)

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

πŸ’… 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