HTML::...extarea(3pm)
π HTML::Widget::Element::Textarea β the textarea element bestie π
okay so this is a 3pm manpage, meaning it's Perl module docs, and it's the page for HTML::Widget::Element::Textarea β aka the thing that makes a <textarea> show up in your widget form. yes. that's the whole vibe. a big ol' box you can type paragraphs into. iconic behavior honestly. π
β¨ NAME β¨
HTML::Widget::Element::Textarea β Textarea Element. she's a textarea. she's an element. slay. π¦
πΈ SYNOPSIS πΈ
look at her go:
my $e = $widget->element( 'Textarea', 'foo' );
$e->comment('(Required)');
$e->label('Foo');
$e->cols(30);
$e->rows(40);
$e->value('bar');
$e->wrap('wrap');
that's it, that's the whole flex. make the element, slap a comment on it, give it a label, set your columns and rows, drop in a value, set the wrap. done. periodt. π
π«Ά DESCRIPTION π«Ά
Textarea Element. yeah. that's literally what the original says and honestly? she said it best. it's the textarea element. π
π METHODS π
new
creates a new textarea with a default size of 20 rows and 40 columns. no cap, those are the defaults, so if you don't say anything she just shows up that size. π§
containerize
(yeah, that's the method. no description given. she's just there. mysterious main character energy. π)
label
(the label method. that's all the original gives us. π€·βοΈ)
value
(sets the value. again, no extra prose in the source. π)
cols
(the columns. β¨)
rows
(the rows. β¨)
wrap
(the wrap attribute. β¨)
retain_default
if this one is true, it overrides the default behaviour, so that after a field is missing from the form submission, the XML output will contain the default value, rather than be empty.
lowkey important: default behaviour = empty output when the field is missing. flip retain_default to true and you keep the default value instead. that's the whole switch. π
π SEE ALSO π
HTML::Widget::Elementβ go read that one too bestie, it's the family she belongs to π¦
π AUTHOR π
Sebastian Riedel, sri@oook.de. give her a round of applause. π
π LICENSE π
this library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. fr fr. πΈ
okay and just so you have the receipts: this page is from perl v5.36.0, dated 2023-08-10, and the manpage title is HTML::...extarea(3pm) (yes it really gets truncated like that, the terminal said what it said π). go forth and textarea, bestie. π
β¨
π¦ where this page comes from
- debian trixie: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms