CGI::Test::Form::Widget::Button::Reset(3pm)

CGI::Test::Form::Widget::Button::Reset3pm

A reset button

Usage

 # Inherits from CGI::Test::Form::Widget::Button
 # $form is a CGI::Test::Form
 my @reset = $form->buttons_matching(sub { $_[0]->is_reset });
 $reset[0]->press if @reset;

Overview

This class models a reset button. Pressing this buttom immediately resets the form to its original state. The processing is done on the client-side, and no request is made to the HTTP server.

The interface is the same as the one described in CGI::Test::Form::Widget::Button.

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11
  3. 12–13

Authors

The original author is Raphael Manfredi.

Steven Hilton was long time maintainer of this module.

Current maintainer is Alexander Tokarev <[email protected]>.

From libcgi-test-perl 1.111-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.