WSNotif...:Filter(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

ok so this is WSNotification::Elements::Filter β€” like, the whole page is literally just this one Perl data type class for the XML Schema defined element Filter, and it comes from the namespace http://docs.oasis-open.org/wsn/b-2. that's the vibe, that's the whole thing πŸ’…

(also, in case you were wondering about the manual name situation: this bad boy lives under WSNotif...:Filter(3), which is the truncated lil nickname for it. slay.)


✨ DESCRIPTION ✨

so bestie, here's the tea πŸ“ β€” WSNotification::Elements::Filter is a Perl data type class for the XML Schema defined element Filter, and that element comes straight out of this namespace:

http://docs.oasis-open.org/wsn/b-2

that's it, that's the description. no cap, it's a short one. but honestly? iconic. it knows exactly what it is πŸ’–


πŸ› οΈ METHODS πŸ› οΈ

πŸ’« new πŸ’«

my $element = WSNotification::Elements::Filter->new($data);

okay so this is the constructor πŸŽ€ β€” it makes you a shiny new object. and here's the part you actually need: the following data structure may be passed to new(), so like, this is the shape of the thing you hand over:

{ # WSNotification::Types::FilterType
  TopicExpression =>  { # WSNotification::Types::TopicExpressionType
  },
  MessageContent =>  { # WSNotification::Types::QueryExpressionType
  },
},

see those lil comments? those are your type receipts 🧾 β€” FilterType at the top, then TopicExpression is a TopicExpressionType, and MessageContent is a QueryExpressionType. both of those inner ones are empty hashes in the example, so don't come for me about missing keys, that's just how the original rolls πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

generated by SOAP::WSDL β€” yeah, it's machine-made, and honestly? it ate. periodt πŸ’€βœ¨


🌸 and that's a wrap, bestie! this page comes to you from the User Contributed Perl Documentation (aka the perl squad's community corner πŸ’œ), perl v5.42.3, dated 1980-01-01 β€” yes, that date is real, don't ask, iykyk 😭🫢 go forth and construct your Filters, you absolute main character 🌈
πŸ“¦ where this page comes from