ONVIF::...AttrList(3)
π ONVIF::...AttrList(3) β the Perl data type glow-up you didn't know you needed
Okay bestie, gather round, because we're about to make XML Schema simpleTypes make sense, and honestly? It's giving main character energy for a Perl class. This is the ONVIF::...AttrList(3) page from the User Contributed Perl Documentation, and I'm gonna walk you through it like we're decoding a group chat.
β¨ NAME β¨
ONVIF::...AttrList(3) β a whole Perl data type class situation, no cap.
πΈ DESCRIPTION πΈ
So basically, this is a Perl data type class for the XML Schema defined simpleType StringAttrList from the namespace http://www.onvif.org/ver10/schema. Yes, that's a whole URL in the middle of a sentence, and yes, you need to know it.
This class β and I quote, with the original typo preserved because we don't erase history β "This clase is derived from" the following:
SOAP::WSDL::XSD::Typelib::Builtin::string .
Like, it's a child of that base type, periodt. π
You may pass the following structure to new():
[ $value_1, .. $value_n ]
And here's the vibe check: all elements of the list must be of the class' base type β or valid arguments to its constructor. No random stuff, bestie. Keep it in the family. π«Ά
π METHODS π
new
Constructor. That's it. That's the whole thing. It constructs. Iconic behavior, honestly.
get_value / set_value
Getter and setter for the simpleType's value. You get the value, you set the value, you slay the value. π
π₯ OVERLOADING π₯
Depending on the simple type's base type, the following operations are overloaded β meaning Perl's gonna do some behind-the-scenes magic when you use these:
Stringificationβ it knows how to be a string β¨Numerificationβ it knows how to be a number π’Boolificationβ it knows how to be true or false π
Check SOAP::WSDL::XSD::Typelib::Builtin for more information. That's where the real lore lives. Don't skip it, iykyk.
π AUTHOR π
Generated by SOAP::WSDL. That's the whole author credit. Short, sweet, and to the point. We respect it. π
Okay that's the whole page, bestie! This was ONVIF::...AttrList(3) from the User Contributed Perl Documentation, running on perl v5.42.3, and the date on this masterpiece is 1980-01-01 β yes, before most of us were born, and it's still out here doing its thing. Go forth and construct your attribute lists responsibly. ππ¦
π¦ 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