Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doriantaylor/p5-role-mimeinfo

Moo(se) role to strap MIME type checking to any (modern Perl) object
https://github.com/doriantaylor/p5-role-mimeinfo

Last synced: 24 days ago
JSON representation

Moo(se) role to strap MIME type checking to any (modern Perl) object

Awesome Lists containing this project

README

        

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
* File::MimeInfo

* Moo

AUTHOR
Dorian Taylor, ""

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

BUGS
Please report any bugs or feature requests to
.

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 .

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.