Carl Franks > HTML-FormFu-2.01 > HTML::FormFu::Element::File

Download:
HTML-FormFu-2.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  12
Open  4
Stalled  1
View/Report Bugs
Module Version: 2.01   Source  

NAME ^

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

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.

syntax highlighting: