HTML::O...t::Span(3)

πŸ“¦ version 0.6.0, in alpine 3.24

🌸 HTML::Object::DOM::Element::Span β€” the manual, bestie edition πŸ’…

okay so this page lives in the User Contributed Perl Documentation section, and the module itself is called HTML::Object::DOM::Element::Span. Yes the actual manpage header abbreviates it all cute as HTML::O...t::Span(3) because someone said "girl, that name is a whole paragraph" 😭 β€” but we're spelling it out. You're welcome.


✨ NAME ✨

HTML::Object::DOM::Element::Span β€” the HTML Object DOM Span Class πŸŽ€


✨ SYNOPSIS ✨

Like, here's the whole vibe to get you started:

use HTML::Object::DOM::Element::Span;
my $span = HTML::Object::DOM::Element::Span->new ||
    die( HTML::Object::DOM::Element::Span->error, "\n" );

that's it. that's the whole entrance. iconic behavior, no notes ✨


✨ VERSION ✨

v0.2.0

it's giving seasoned. it's giving stable. πŸ’œ


✨ DESCRIPTION ✨

So this interface represents a <span> element β€” yes, that span, the little inline wrapper you throw around text when you have feelings about styling β€” and it derives from the HTML::Object::DOM::Element interface, but without implementing any additional properties or methods.

Literally. It's a nepo baby that inherited everything and added zero of its own. And honestly? Respect. main character energy with none of the extra responsibilities πŸ‘‘


✨ INHERITANCE ✨

Behold, the family tree, and yes it's a whole glow-up chain:

+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +----------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Span |
+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +----------------------------------+

five generations of DOM royalty and our girl is the youngest at the end of the line πŸ’…


✨ PROPERTIES ✨

  • Inherits properties from its parent HTML::Object::DOM::Element β€” that's it, she brings nothing to the function and we still love her 🫢

✨ METHODS ✨

  • Inherits methods from its parent HTML::Object::DOM::Element β€” same deal, everything's hand-me-downs and they all slay πŸ”₯

✨ AUTHOR ✨

Jacques Deguest <jack@deguest.jp> β€” thank you for this contribution king πŸ«‘πŸ’–


✨ SEE ALSO ✨

go read the docs bestie, they ate ⭐


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.

tl;dr: it's Perl-licensed, so go off, but keep the copyright notice intact, okay? πŸ’…

and that's the whole page, bestie. This little gem is perl v5.42.2, dated 2026-02-15 β€” so go forth, wrap your text in spans, and remember: no cap, the inheritance chain goes hard πŸŒˆπŸ¦‹πŸ“

πŸ“¦ where this page comes from