Role::MimeInfo - Bolt-on type checking against GNOME shared-mime-info
Version 0.01
use Moo; # or Moose or Mouse or whatever with 'Role::MimeInfo'; # are you ready to check some mime types???
Proxy for "mimetype" in File::MimeInfo::Magic.
Proxy for "mimetype_isa" in File::MimeInfo with additional behaviour for self-identity and recursive type checking.
File::MimeInfo
Moo
Dorian Taylor, <dorian at cpan.org>
<dorian at cpan.org>
Expose the rest of the interface of File::MimeInfo in a reasonable way.
Please report any bugs or feature requests to https://github.com/doriantaylor/p5-role-mimeinfo/issues .
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.
To install Role::MimeInfo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Role::MimeInfo
CPAN shell
perl -MCPAN -e shell install Role::MimeInfo
For more information on module installation, please visit the detailed CPAN module installation guide.