HTML::O...t::UList(3)
π HTML::Object::DOM::Element::UList β the whole vibe
okay so bestie, you're looking at HTML::O...t::UList(3), and yes that's a User Contributed Perl Documentation page, we love a community-sourced moment π«Ά. It's the manpage for HTML::Object::DOM::Element::UList, and honestly? It's short, it's sweet, it's giving "I do one thing and I do it well." Let's get into it β¨
πΈ NAME
HTML::Object::DOM::Element::UList β the HTML Object DOM UList Class. that's it, that's the name, no notes π
π SYNOPSIS
okay so here's how you actually summon one of these bad boys. copy it exactly, no cap:
use HTML::Object::DOM::Element::UList;
my $ul = HTML::Object::DOM::Element::UList->new ||
die( HTML::Object::DOM::Element::UList->error, "\n" );
the || die(...) part is your safety net β if the constructor flops, it hands you the error and bails with a newline. iconic defensive coding behavior π₯
β VERSION
v0.2.0
yup, that's the version. screenshot it, frame it, whatever π
π¦ DESCRIPTION
so what is this thing? This interface gives you special properties β like, beyond the ones already defined on the regular HTML::Object::DOM::Element interface (which it also gets by inheritance, because nepotism is real and honestly we respect it) β for manipulating unordered list elements. i.e. your <ul>s. your bullet points. your little dots. main character energy fr fr π
π INHERITANCE
here's the family tree and yes it's a long one, look at all these ancestors:
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-----------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::UList |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-----------------------------------+
so it goes HTML::Object::Element β HTML::Object::EventTarget β HTML::Object::DOM::Node β HTML::Object::DOM::Element β HTML::Object::DOM::Element::UList. a whole lineage, we stan a well-documented bloodline π§
π PROPERTIES
it inherits properties from its parent HTML::Object::DOM::Element β like, all of them, that's the whole deal π«Ά
π compact
it's a boolean value indicating that the spacing between list items should be reduced. so like, squish the list. tighter. cozier.
but β and this is the lowkey important part β this property reflects the compact HTML attribute only. it does not consider the line-height CSS property that modern pages actually use to achieve that behavior. so don't come for it when your CSS line-height does nothing here, that's not its job, it never claimed that π
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/compact
πΈ type
it's a string value reflecting the HTML attribute that represents the type and defines the kind of marker used to display. sounds simple right? plot twist: the values are browser dependent and have never been standardized. so like... good luck, ymmv, it's chaos out here π
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/type
β¨ METHODS
it inherits methods from its parent HTML::Object::DOM::Element. that's the whole section. short king behavior, we love to see it π
π AUTHOR
Jacques Deguest <jack@deguest.jp> β thank you for your service, sir, the ul community salutes you π«‘π
π₯ SEE ALSO
- Mozilla documentation β
https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement - Mozilla documentation on ulist element β
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
go read them, they're giving reference material, iykyk π
π COPYRIGHT & LICENSE
Copyright(c) 2022 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.
so basically: free software, same terms as Perl itself, go off, just don't be weird about it π
okay that's the whole page bestie, you're officially an expert on HTML::Object::DOM::Element::UList π
this wasperl v5.42.2, dated2026-02-15, from theHTML::O...t::UList(3)page β mwah, bye, love u, go write some lists πππ
π¦ 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