1HTML::FormFu::ConstrainUts:e:rFiCloen(t3r)ibuted Perl DoHcTuMmLe:n:tFaotrimoFnu::Constraint::File(3)
2
3
4

NAME

6       HTML::FormFu::Constraint::File - File Upload Constraint
7

VERSION

9       version 2.07
10

DESCRIPTION

12       Ensure the submitted value is a file upload.
13
14       This Constraint is not needed if you use any of the "File::*"
15       Constraints, as they all make the same check as this Constraint does.
16

LIMITATIONS

18       This can only verify that your CGI backend (CGI, Catalyst, CGI::Simple)
19       thinks it was a file upload. If the user submits a filename which
20       doesn't exist on their system, you will probably get a valid
21       HTML::FormFu::Upload object, with a valid filehandle, but no Content-
22       Length. This Constraint would still see this as a valid uploaded file -
23       if you want to ensure that you get a file with content, instead use
24       HTML::FormFu::Constraint::File::Size with min set to 1.
25

SEE ALSO

27       Is a sub-class of, and inherits methods from HTML::FormFu::Constraint
28
29       HTML::FormFu
30

AUTHOR

32       Carl Franks, "cfranks@cpan.org"
33

LICENSE

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

AUTHOR

39       Carl Franks <cpan@fireartist.com>
40
42       This software is copyright (c) 2018 by Carl Franks.
43
44       This is free software; you can redistribute it and/or modify it under
45       the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.32.0                      2020-07-28 HTML::FormFu::Constraint::File(3)
Impressum