logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CGI::Test::Form::Widget::Button::Image - A nice submit button

Authors

       The original author is Raphael Manfredi.

       Steven Hilton was long time maintainer of this module.

       Current maintainer is Alexander Tokarev <tokarev@cpan.org>.

Description

       This class models an image button.  Apart from the fact that it's probably nicer on a browser, this
       widget otherwise behaves like your ordinary submit button.

       Pressing it immediately triggers an HTTP request, as defined by the form.

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

Name

       CGI::Test::Form::Widget::Button::Image - A nice submit button

See Also

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

perl v5.34.0                                       2022-06-10             CGI::Test::Form...::Button::Image(3pm)

Synopsis

        # Inherits from CGI::Test::Form::Widget::Button
        # $form is a CGI::Test::Form

        my $send = $form->submit_by_name("send");
        my $answer = $send->press;

See Also