HTML::O...t::Param(3)
π HTML::O...t::Param(3)
okay so bestie, this is the user-contributed Perl documentation for HTML::O...t::Param(3) and it's genuinely such a vibe β buckle up π
β¨ NAME β¨
HTML::Object::DOM::Element::Param β literally the HTML Object DOM Param Class, no cap π
π¦ SYNOPSIS π¦
the whole flex is like three lines, so iconic:
use HTML::Object::DOM::Element::Param;
my $param = HTML::Object::DOM::Element::Param->new ||
die( HTML::Object::DOM::Element::Param->error, "\n" );
like, either you get your object or you die screaming the error message plus a newline. main character energy fr fr π
β VERSION β
v0.2.0
that's the version, periodt πΈ
π DESCRIPTION π
so this interface hands you special properties β like, on top of everything the regular HTML::Object::Element object interface already inherits, which is already a lot, she's generous β specifically for wrangling <param> elements π
and what even is a <param> element? so glad you asked: it's literally a pair of a key and a value that acts as a parameter for an <object> element. key + value, matching set, obsessed π«Ά
π INHERITANCE π
the family tree is giving royal lineage, look at this glow-up chain π
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-----------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Param |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-----------------------------------+
everybody inherits from the one before, it's giving generational wealth β¨
π PROPERTIES π
she inherits properties from her parent, HTML::Object::DOM::Element. nepotism but make it DOM π
π« name
it's a string representing the name of the parameter, and it reflects the name attribute. simple, clean, does what it says on the tin π
also see the Mozilla documentation here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/name
π« type
it's a string containing the type of the parameter β but like, only when valueType has the "ref" value, iykyk. it reflects the type attribute π₯
also see the Mozilla documentation here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/type
π« value
it's a string representing the value associated to the parameter, and it reflects the value attribute. the other half of the key-value duo, the matching-set moment π
also see the Mozilla documentation here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/value
π« valueType
it's a string containing the type of the value. it reflects the valuetype attribute and it has exactly one of these values: "data", "ref", or "object" β pick one, bestie, it's not a multiple choice situation π
also see the Mozilla documentation here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/valueType
π§ METHODS π§
she inherits methods from her parent, HTML::Object::DOM::Element. again with the inheritance, we love a supportive parent π
πΈ AUTHOR πΈ
Jacques Deguest <jack@deguest.jp> β the icon, the legend, the moment π
π₯ SEE ALSO π₯
- Mozilla documentation:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement - Mozilla documentation on param element:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
both links, both iconic, go read them π
π«Ά COPYRIGHT & LICENSE π«Ά
Copyright(c) 2021 DEGUEST Pte. Ltd.
All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
ngl that license bit is important, don't skip it just because it's the last section, bestie π
and that's the whole page! this was docs for HTML::O...t::Param(3) on perl v5.42.2, dated 2026-02-15 β mwah, bye, drink some water π¦π
π¦ where this page comes from
- alpine 3.24: perl-html-object-doc 0.6.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms