Author image Dorian Taylor
and 1 contributors

NAME

Role::MimeInfo - Bolt-on type checking against GNOME shared-mime-info

VERSION

Version 0.02

SYNOPSIS

    use Moo; # or Moose or Mouse or whatever

    with 'Role::MimeInfo';

    # are you ready to check some mime types???

METHODS

mimetype

Proxy for "mimetype" in File::MimeInfo::Magic.

mimetype_isa

Proxy for "mimetype_isa" in File::MimeInfo with additional behaviour for self-identity and recursive type checking.

SEE ALSO

AUTHOR

Dorian Taylor, <dorian at cpan.org>

TODO

  • Expose the rest of the interface of File::MimeInfo in a reasonable way.

BUGS

Please report any bugs or feature requests to https://github.com/doriantaylor/p5-role-mimeinfo/issues .

LICENSE AND COPYRIGHT

Copyright 2017 Dorian Taylor.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.