CGI::Test::Form::Widget::Button::Image - A nice submit button
# Inherits from CGI::Test::Form::Widget::Button # $form is a CGI::Test::Form my $send = $form->submit_by_name("send"); my $answer = $send->press;
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.
You can find information about CGI::Test and other related modules at:
http://cgi-test.sourceforge.net
CGI::Test now has a publicly accessible CVS server provided by SourceForge (www.sourceforge.net). You can access it by going to:
http://sourceforge.net/cvs/?group_id=89570
The original author is Raphael Manfredi <Raphael_Manfredi@pobox.com>.
Send bug reports, hints, tips, suggestions to Steven Hilton at <mshiltonj@mshiltonj.com>
CGI::Test::Form::Widget::Button(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.