1HTML::FormFu::ConstrainUts:e:rFiCloen:t:rSiibzuet(e3d)PHeTrMlL:D:oFcourmmeFnut:a:tCioonnstraint::File::Size(3)
2
3
4

NAME

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

VERSION

9       version 2.07
10

DESCRIPTION

12       Ensure that an uploaded file meets minimum or maximum size constraints.
13

METHODS

15   minimum
16   min
17       Optional.
18
19       The minimum file size in bytes.
20
21       "min" is an alias for "minimum".
22
23   maximum
24   max
25       Optional.
26
27       The maximum file size in bytes.
28
29       "max" is an alias for "maximum".
30
31   minimum_kilobyte
32   min_kilobyte
33       Shortcut for "$constraint->minimum( $value * 1024 )".
34
35       "min_kilobyte" is an alias for "minimum_kilobyte".
36
37   maximum_kilobyte
38   max_kilobyte
39       Shortcut for "$constraint->maximum( $value * 1024 )".
40
41       "max_kilobyte" is an alias for "maximum_kilobyte".
42
43   minimum_megabyte
44   min_megabyte
45       Shortcut for "$constraint->minimum( $value * 1_048_576 )".
46
47       "min_megabyte" is an alias for "minimum_megabyte".
48
49   maximum_megabyte
50   max_megabyte
51       Shortcut for "$constraint->maximum( $value * 1_048_576 )".
52
53       "max_megabyte" is an alias for "maximum_megabyte".
54

SEE ALSO

56       Is a sub-class of, and inherits methods from HTML::FormFu::Constraint
57
58       HTML::FormFu
59

AUTHOR

61       Carl Franks, "cfranks@cpan.org"
62

LICENSE

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

AUTHOR

68       Carl Franks <cpan@fireartist.com>
69
71       This software is copyright (c) 2018 by Carl Franks.
72
73       This is free software; you can redistribute it and/or modify it under
74       the same terms as the Perl 5 programming language system itself.
75
76
77
78perl v5.34.0                      2021-0H7T-M2L2::FormFu::Constraint::File::Size(3)
Impressum