View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Raphael Manfredi > CGI-Test-0.1.3 > CGI::Test::Form::Widget::Button::Reset

Download:
CGI-Test-0.1.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: CGI-Test-0.104

NAME ^

CGI::Test::Form::Widget::Button::Reset - A reset button

SYNOPSIS ^

 # 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;

DESCRIPTION ^

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.

AUTHOR ^

Raphael Manfredi <Raphael_Manfredi@pobox.com>

SEE ALSO ^

CGI::Test::Form::Widget::Button(3).

syntax highlighting: