HTML::FormFu::Constraint::File::MIME man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

HTML::FormFu::ConstraiUserFContributed)HTML::FormFu::Constraint::File::MIME(3)

NAME
       HTML::FormFu::Constraint::File::MIME - MIME Type Constraint

DESCRIPTION
       Constraint an uploaded file's MIME-type (Content-Type).

       "types" is checked before "regex".

METHODS
   types
       Arguments: $mime_type

       Arguments: \@mime_types

       Optional.

       Accepts a single MIME-type or an arrayref of MIME-types. Each is
       checked against the uploaded file's MIME-type (as given by the
       browser), and the constraint passes if any one of the given types
       matches.

   regex
       Arguments: $regex

       Optional.

       Accepts a string to be interpreted as a regex, and is checked against
       the uploaded files's MIME-type (as given by the browser).

       The regex uses the "/x" flag, so that whitespace in the given string is
       ignored.

SEE ALSO
       Is a sub-class of, and inherits methods from 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.

perl v5.14.2			  2012-HTML::FormFu::Constraint::File::MIME(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net