The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::FormFu::Constraint::File::MaxSize - Maximum File Size Constraint

DESCRIPTION

Ensure that an uploaded file meets maximum size constraints.

Overrides "localize_args" in HTML::FormFu::Constraint, so that the value of "maximum" is passed as an argument to localize.

This constraint doesn't honour the not() value.

METHODS

maximum

max

The maximum file size in bytes.

"max" is an alias for "maximum".

SEE ALSO

Is a sub-class of, and inherits methods from HTML::FormFu::Constraint::File::Size, HTML::FormFu::Constraint

HTML::FormFu

AUTHOR

Carl Franks cfranks@cpan.org

LICENSE

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