CGI::T...xt_Area(3pm)

πŸ“¦
version 1.111 Β· 2 versions
  • 1.111 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.111 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 🫢✨