---
name: "CGI::Test::Form::Widget::Input::File"
section: "3pm"
platform: "linux"
package: "libcgi-test-perl"
version: "1.111-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/CGI::Test::Form::Widget::Input::File"
---

# CGI::Test::Form::Widget::Input::File(3pm)

A file upload control

## NAME

CGI::Test::Form::Widget::Input::File - A file upload control

## SYNOPSIS

```
 # Inherits from CGI::Test::Form::Widget::Input
 # $form is a CGI::Test::Form
 my $upload = $form->input_by_name("upload");
 $upload->replace("/tmp/file");
```

## DESCRIPTION

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.

## AUTHORS

The original author is Raphael Manfredi.

Steven Hilton was long time maintainer of this module.

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

## SEE ALSO

**CGI::Test::Form::Widget::Input**(3).
