ONVIF::...iverMode(3)
π¦ 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:
StringificationNumerificationBoolification
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
- 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