CGI::T...xt_Area(3pm)
β¨ NAME β¨
ok so bestie, meet CGI::Test::Form::Widget::Input::Text_Area β it's a text area π (that's literally what it is, a big ol' box where you type your little heart out)
πΈ SYNOPSIS πΈ
# Inherits from CGI::Test::Form::Widget::Input
# $form is a CGI::Test::Form
my $comments = $form->input_by_name("comments");
$comments->append(<<EOM);
--
There's more than one way to do it.
--Larry Wall
EOM
so like, you grab the widget by name and then you just append to it. the Larry Wall quote goes in verbatim, we do not touch it, it's iconic π
π¦ DESCRIPTION π¦
This class models a text area, where users can type text. that's it, that's the whole vibe β a place for typing βοΈβ¨
π INTERFACE π
The interface is the same as the one described in CGI::Test::Form::Widget::Input, with the following additional attributes:
"columns"β Amount of displayed columns. like how wide the box is, visually π"rows"β Amount of displayed text rows. how tall it is, bestie π§"wrap_mode"β The selected work wrapping mode. (yes the original says "work wrapping mode", we're keeping it exactly like that, no cap π)
π BUGS π
Does not handle "wrap_mode" and "columns" yet. π
There is actually some work done by the browser when the wrapping mode is set to "hard", which alters the value transmitted back to the script upon submit. so like⦠heads up, that's a real thing that happens, fr fr
π AUTHORS π
- The original author is Raphael Manfredi.
- Steven Hilton was long time maintainer of this module.
- Current maintainer is Alexander Tokarev <tokarev@cpan.org>.
π SEE ALSO π
that's the whole page bestie, slay π this was User Contributed Perl Documentation, perl v5.34.0, dated 2022-06-10 β love that for us π«Άβ¨
π¦ where this page comes from
- debian bookworm: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- debian trixie: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- ubuntu noble: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- ubuntu resolute: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- ubuntu stonking: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms