CGI::Test::Form::Widget::Input::File - A file upload control
# Inherits from CGI::Test::Form::Widget::Input # $form is a CGI::Test::Form my $upload = $form->input_by_name("upload"); $upload->replace("/tmp/file");
This class models a file upload control, which is a text field to enter a file name, with a little "browse" control button nearby that allows the user to select a file via a GUI...
The interface is the same as the one described in CGI::Test::Form::Widget::Input::Text_Field.
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::Input(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.