ONVIF::...AttrList(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

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