CGI::Test::Form::Widget::Menu::List - A scrolling list menu
# 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");
This class models a scrolling list menu, from which items may be selected and unselected.
The interface is the same as the one described in CGI::Test::Form::Widget::Menu, with the following additional attribute:
size
The amount of choices displayed.
The original author is Raphael Manfredi.
Steven Hilton was long time maintainer of this module.
Current maintainer is Alexander Tokarev <tokarev@cpan.org>.
CGI::Test::Form::Widget::Menu(3).
To install CGI::Test, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Test
CPAN shell
perl -MCPAN -e shell install CGI::Test
For more information on module installation, please visit the detailed CPAN module installation guide.