---
name: "HTML::FormFu::Element::File"
section: "3pm"
platform: "linux"
package: "libhtml-formfu-perl"
version: "2.07000-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/HTML::FormFu::Element::File"
---

# HTML::FormFu::Element::File(3pm)

File upload form field

## NAME

HTML::FormFu::Element::File - File upload form field

## VERSION

version 2.07

## SYNOPSIS

```
    ---
    elements:
      type: File
      name: photo
    my $photo = $form->param('photo');
    my $blob = $photo->slurp;
```

## DESCRIPTION

File upload form field.

See the documentation relevant to the query\_type you're using:

- HTML::FormFu::QueryType::CGI

  - HTML::FormFu::QueryType::Catalyst

  - HTML::FormFu::QueryType::CGI::Simple

  ## METHODS

## SEE ALSO

Is a sub-class of, and inherits methods from HTML::FormFu::Role::Element::Input, HTML::FormFu::Role::Element::Field, HTML::FormFu::Element

HTML::FormFu

## AUTHOR

Carl Franks, `"cfranks@cpan.org"`

## LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

## AUTHOR

Carl Franks \<cpan@fireartist.com\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Carl Franks.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
