Scroll to navigation

HTML::FormFu::QueryType::CGI(3pm) User Contributed Perl Documentation HTML::FormFu::QueryType::CGI(3pm)

NAME

HTML::FormFu::QueryType::CGI - uploaded file

VERSION

version 2.07

METHODS

headers

As of HTML::FormFu version 0.02004, returns a HTTP::Headers object. - Previously returned a hashref of values.

filename

Returns the browser-submitted filename of the local file.

fh

Returns a read-only filehandle.

slurp

Returns the contents of the uploaded file.

size

A shortcut for "$upload->headers->content_length".

Returns the size of the uploaded file in bytes.

type

A shortcut for "$upload->headers->content_type".

Returns the browser-submitted Content-Type of the uploaded file.

SEE ALSO

Is a sub-class of, and inherits methods from HTML::FormFu::Upload

HTML::FormFu, HTML::FormFu::Element::File

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.

2019-01-12 perl v5.28.1