ONVIF::...iverMode(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ¦‹ ONVIF::...iverMode(3) πŸ¦‹

okay so real quick β€” this is a page out of the User Contributed Perl Documentation, and yes the title is literally written as ONVIF::...iverMode(3) with the dots in the middle, that's not me being cute, that's just how it's filed. anyway. let's get into it πŸ’…


✨ NAME ✨

ngl bestie, the original page leaves this section totally blank β€” no name line, nothing. iconic of it. so just know: this file is the Perl data type class for a thing called ReceiverMode, and we're about to unpack it πŸŽ€

🌸 DESCRIPTION 🌸

so. this is a Perl data type class for the XML Schema defined simpleType ReceiverMode from the namespace http://www.onvif.org/ver10/schema. slay, that's a whole URL, keep it.

what does it actually mean? it specifies a receiver connection mode. that's the whole vibe. ReceiverMode = which mode a receiver connects in. periodt.

this class is derived from

SOAP::WSDL::XSD::Typelib::Builtin::string

and here's the thing you gotta know: SOAP::WSDL's schema implementation does not validate data, so you can use it exactly like it's base type. no vibe check, no gatekeeping, it just lets you do your thing πŸ’–

# Description of restrictions not implemented yet.
that comment is straight from the original β€” the restrictions description genuinely hasn't been written yet. not my fault, not yours. we move πŸ™ˆ

⭐ METHODS ⭐

🫢 new

Constructor. that's it, that's the whole description. it constructs. main character energy ✨

🫢 get_value / set_value

Getter and setter for the simpleType's value. get_value gets, set_value sets, they're a matched set, they ate πŸ’…

πŸ”₯ OVERLOADING πŸ”₯

depending on the simple type's base type, these operations are overloaded:

  • Stringification
  • Numerification
  • Boolification

so it can string, it can number, it can bool β€” depending on what the base type is. check SOAP::WSDL::XSD::Typelib::Builtin for more information, that's where the full lore lives πŸ“š

lowkey important: which of those three you actually get is conditional on the base type. so don't come for me if your overload isn't the one you expected πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. that's the whole author section. a machine did it. respect the machine 🫑


and that's the page!! no cap, it's a short one πŸ“

πŸŒΈβœ¨πŸ’– bye bestie, go forth and connect your receivers πŸ’–βœ¨πŸŒΈ

β€” with love, from perl v5.42.3, dated 1980-01-01 (yes, that date is genuinely what's on the tin, we don't question the timeline around here πŸ˜­πŸ•°οΈ)

πŸ“¦ where this page comes from