CGI::T...u::List(3pm)
πΈ NAME πΈ
CGI::Test::Form::Widget::Menu::List β it's a scrolling list menu, bestie. Like, a whole lil dropdown-but-make-it-a-list situation. π
Oh and the manual page itself is chilling under the name CGI::T...u::List(3pm) (they really did abbreviate her name like that, no cap π) β it's part of the User Contributed Perl Documentation, iykyk.
β¨ SYNOPSIS β¨
# Inherits from CGI::Test::Form::Widget::Menu
# $form is a CGI::Test::Form
my $action = $form->menu_by_name("action");
$action->unselect("allow-gracetime");
$action->select("reboot");
See how easy that is?? Grab the menu by name, unselect one thing, select another. Main character energy tbh. π«Ά
π¦ DESCRIPTION π¦
Okay so, this class is the model for a scrolling list menu β you know the vibe, the kind where you can select items and also unselect them. It literally just models that. That's the whole job. And it ate. π
π INTERFACE π
The interface is the same as the one described over in CGI::Test::Form::Widget::Menu, except β plot twist β there's one extra attribute:
"size"β the amount of choices displayed. That's it, that's the attribute. It's giving "how much of the list do you wanna see at once". π
π AUTHORS π
- The original author is Raphael Manfredi.
- Steven Hilton was long time maintainer of this module.
- Current maintainer is Alexander Tokarev
<tokarev@cpan.org>.
Respect to the whole lineage honestly, three whole eras of maintainership, iconic. π
π SEE ALSO π
fr fr go read the parent class first, it's where all the actual interface lives. This page is just the scrolling-list-flavoured remix. π
perl v5.34.0 Β· 2022-06-10 β that's the source and date of this page, and that's a wrap bestie, mwah π β¨πΈ
π¦ 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