HTML::O...ent::Pre(3)
π NAME π
HTML::O...ent::Pre(3) is the User Contributed Perl Documentation page for HTML::Object::DOM::Element::Pre β the HTML Object DOM Pre Class. That's the whole name, bestie, no cap. π
π SYNOPSIS π
okay so you load it like this, literally:
use HTML::Object::DOM::Element::Pre;
my $pre = HTML::Object::DOM::Element::Pre->new ||
die( HTML::Object::DOM::Element::Pre->error, "\n" );
β VERSION β
It's giving v0.2.0. Periodt.
π¦ DESCRIPTION π¦
This interface is here to expose specific properties and methods β on top of the ones from the HTML::Object::DOM::Element interface that it also has available by inheritance β for manipulating a block of preformatted text (<pre>). Main character energy for preformatted blocks, honestly. β¨
π INHERITANCE π
The class tree is literally this glow-up:
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +---------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Pre |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +---------------------------------+
π PROPERTIES π
Inherits properties from its parent HTML::Object::DOM::Element. Yes, family inheritance, we love to see it. π«Ά
πΈ width πΈ
Is a long value reflecting the obsolete width attribute, containing a fixed-size length for the <pre> element. Obsolete is the key word here, bestie β it's giving vintage, not fresh. π
See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement/width
π METHODS π
Inherits methods from its parent HTML::Object::DOM::Element. That's the tea. π΅
π AUTHOR π
Jacques Deguest (jack@deguest.jp) β iconic. π
π₯ SEE ALSO π₯
Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement
π 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.
π cute sign-off: this page came from perl v5.42.2, dated 2026-02-15, and the manual tag is HTML::O...ent::Pre(3). bye bestie, go treat your preformatted text like the main character it is β¨π
π¦ 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