WSNotif...:Filter(3)
π¦ 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 theUser Contributed Perl Documentation(aka the perl squad's community corner π),perl v5.42.3, dated1980-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
- 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