HTML::FormFu::Constraint::File::MaxSize.3pm

Langue: en

Version: 2010-05-16 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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.