HTML::O...t::DList(3)
π HTML::O...t::DList(3) β the DL List glow-up
okay bestie, so this is HTML::Object::DOM::Element::DList, from the User Contributed Perl Documentation, and it's literally the class that handles definition list (<dl>) elements. she's giving specialist energy, and honestly? we stan. β¨
π¦ NAME
HTML::Object::DOM::Element::DList β HTML Object DOM DL List Class. that's it, that's the name, no cap.
πΈ SYNOPSIS
like, use her and then make one, okay?
use HTML::Object::DOM::Element::DList;
my $list = HTML::Object::DOM::Element::DList->new ||
die( HTML::Object::DOM::Element::DList->error, "\n" );
that || die(...) is not decorative, babe β if new flops you print the error and exit. respect the guard clause. π
π VERSION
v0.2.0
periodt. that's the version.
β¨ DESCRIPTION
so this interface gives you special properties for manipulating definition list (<dl>) elements β and these are on top of everything the regular HTML::Object::Element interface already gives you, since it inherits all of that anyway. lowkey the whole point: <dl> gets its own little toolkit. π«Ά
π INHERITANCE
she has ancestors, and here's the whole family tree in all its wide, unbothered glory:
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-----------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::DList |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-----------------------------------+
read it left to right, the arrows are the inheritance chain, DList is the main character at the end. π₯
π PROPERTIES
she inherits her properties from her parent, HTML::Object::DOM::Element. so everything mom has, she has.
π compact
it's a boolean value that says whether the spacing between list items should be reduced. true = squish those list items together, false = let them breathe. that's the whole vibe check.
also, see the Mozilla documentation for it: <https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement/compact> β
π§ METHODS
she inherits her methods from her parent, HTML::Object::DOM::Element too. nothing extra up in here, she's just her mom's kid and she's thriving. π
π AUTHOR
Jacques Deguest <jack@deguest.jp> β thank you for the lore, king. π
π SEE ALSO
- Mozilla documentation: <https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement>
- and the Mozilla documentation on the
dlelement: <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl>
go read them, iykyk. π
π 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.
okay so legally she's Perl-licensed, do with that what you will, but be normal about it. π
ngl this page is docked atperl v5.42.2, dated2026-02-15, and those are the receipts from the footer. mwah, bye bestie! πππ¦
π¦ 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