WSDisco...::Hello(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– WSDisco...::Hello(3) πŸ’–

okay so real talk, bestie β€” this is the manual page for WSDisco...::Hello(3), like from the User Contributed Perl Documentation era. yes the truncated name is doing its little ellipsis thing, that's just how it do. come sit with me, it's actually so simple 🫢


✨ NAME ✨

WSDiscovery::Elements::Hello β€” say hi to the element, she's iconic like that πŸ’…


🌸 DESCRIPTION 🌸

ok so literally: this is a Perl data type class for the XML Schema element Hello, and she comes straight out of the namespace

http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01

that's it, that's the vibe. it's a data-type class, it holds the Hello element, no cap βœ¨πŸ¦‹


πŸŽ€ METHODS πŸŽ€

πŸ’œ new

my $element = WSDiscovery::Elements::Hello->new($data);

constructor, bestie! you hand it $data and it makes you a shiny new object, main character energy only πŸ‘‘

the following data structure may be passed to new() β€” and pls pls pls look at the nesting, it gets deep 😭:

{ # WSDiscovery::Types::HelloType
  EndpointReference =>  { # WSDiscovery::Types::EndpointReferenceType
    Address =>  { value => $some_value },
    ReferenceParameters =>  { # WSDiscovery::Types::ReferenceParametersType
    },
    Metadata =>  { # WSDiscovery::Types::MetadataType
    },
  },
  Types => $some_value, # QNameListType
  Scopes =>  { value => $some_value },
  XAddrs => $some_value, # UriListType
  MetadataVersion =>  $some_value, # unsignedInt
},

let me walk you through it like a tour guide on a field trip 🌈:

  • EndpointReference β€” a WSDiscovery::Types::EndpointReferenceType hash of its own, and inside it:
    • Address β€” takes a { value => $some_value } hash, she needs her value key okay
    • ReferenceParameters β€” a WSDiscovery::Types::ReferenceParametersType hash (empty in the snippet, but she's there)
    • Metadata β€” a WSDiscovery::Types::MetadataType hash, also sitting pretty
  • Types β€” $some_value, typed as QNameListType
  • Scopes β€” a { value => $some_value } hash, hand her a value
  • XAddrs β€” $some_value, typed as UriListType
  • MetadataVersion β€” $some_value, typed as unsignedInt (yes, unsigned, no negatives allowed, periodt βœ‹)

the top-level brace is a WSDiscovery::Types::HelloType, the element refs are their own types, everything is labelled β€” iykyk πŸ’€πŸ’–


πŸ”₯ AUTHOR πŸ”₯

Generated by SOAP::WSDL β€” yeah, generated, she didn't hand-write herself, still slayed tho πŸ’…βœ¨


okay that's the whole page, 10/10 short and sweet, obsessed honestly πŸ“πŸ§š

so this absolute icon was written by the good folks behind SOAP::WSDL (SOAP::WSDL formatting for the perldoc), and this particular copy is stamped perl v5.42.3 dated 1980-01-01 β€” yes, 1980, she's vintage, she's a classic, she's literally a time traveler πŸ‘‘πŸŒΈ

byeee, go build your Hello element bestie, you got this πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from