HTML::FormFu::Constraint::File::Size - File Size Constraint
Ensure that an uploaded file meets minimum or maximum size constraints.
Optional.
The minimum file size in bytes.
"min" is an alias for "minimum".
The maximum file size in bytes.
"max" is an alias for "maximum".
Shortcut for $constraint->minimum( $value * 1024 ).
$constraint->minimum( $value * 1024 )
"min_kilobyte" is an alias for "minimum_kilobyte".
Shortcut for $constraint->maximum( $value * 1024 ).
$constraint->maximum( $value * 1024 )
"max_kilobyte" is an alias for "maximum_kilobyte".
Shortcut for $constraint->minimum( $value * 1_048_576 ).
$constraint->minimum( $value * 1_048_576 )
"min_megabyte" is an alias for "minimum_megabyte".
Shortcut for $constraint->maximum( $value * 1_048_576 ).
$constraint->maximum( $value * 1_048_576 )
"max_megabyte" is an alias for "maximum_megabyte".
Is a sub-class of, and inherits methods from HTML::FormFu::Constraint
HTML::FormFu
Carl Franks, cfranks@cpan.org
cfranks@cpan.org
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTML::FormFu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::FormFu
CPAN shell
perl -MCPAN -e shell install HTML::FormFu
For more information on module installation, please visit the detailed CPAN module installation guide.