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

DESCRIPTION

9       Ensure that an uploaded file meets minimum or maximum size constraints.
10

METHODS

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

SEE ALSO

53       Is a sub-class of, and inherits methods from HTML::FormFu::Constraint
54
55       HTML::FormFu
56

AUTHOR

58       Carl Franks, "cfranks@cpan.org"
59

LICENSE

61       This library is free software, you can redistribute it and/or modify it
62       under the same terms as Perl itself.
63
64
65
66perl v5.12.1                      2010-0H5T-M1L6::FormFu::Constraint::File::Size(3)
Impressum