1HTML::FormFu::ConstrainUts:e:rFiCloen(t3r)ibuted Perl DoHcTuMmLe:n:tFaotrimoFnu::Constraint::File(3)
2
3
4
6 HTML::FormFu::Constraint::File - File Upload Constraint
7
9 version 2.07
10
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
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
27 Is a sub-class of, and inherits methods from HTML::FormFu::Constraint
28
29 HTML::FormFu
30
32 Carl Franks, "cfranks@cpan.org"
33
35 This library is free software, you can redistribute it and/or modify it
36 under the same terms as Perl itself.
37
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.30.1 2020-01-30 HTML::FormFu::Constraint::File(3)