FormValidator-Lite
view release on metacpan or search on metacpan
lib/FormValidator/Lite/Constraint/File.pm view on Meta::CPAN
=head1 RULES
=over 4
=item FILE_MIME
$valiator->check(
'file' => [['FILE_MIME', 'text/plain']],
);
Check the file content-type.
=item FILE_SIZE
$valiator->check(
'file' => [['FILE_SIZE', 1_000_000, 100]],
);
Check the file size. First argument is the upper limit in bytes, and second is lower limit in bytes.
Second argument is optional.
( run in 1.376 second using v1.01-cache-2.11-cpan-524268b4103 )