logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Carl Franks <cpan@fireartist.com>

License

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

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.

Name

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

See Also

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

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

Version

       version 2.07

See Also