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


HTML-FormFu documentation  | view source Contained in the HTML-FormFu distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    ---
    elements:
      type: File
      name: photo

    my $photo = $form->param('photo');

    my $blob = $photo->slurp;

DESCRIPTION

Top

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

Top

SEE ALSO

Top

Is a sub-class of, and inherits methods from HTML::FormFu::Element::_Input, HTML::FormFu::Element::_Field, HTML::FormFu::Element

HTML::FormFu

AUTHOR

Top

Carl Franks, cfranks@cpan.org

LICENSE

Top

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


HTML-FormFu documentation  | view source Contained in the HTML-FormFu distribution.