This module can be used to determine the mime type of a file; it's a
replacement for File::MMagic
trying to implement the freedesktop specification for using the shared
mime-info database. The package comes with a script called mimetype
that can be used as a file(1)
work-alike.
To install this module type the following:
perl Makefile.PL
make
make test
make install
This module expects the freedesktop mime database to be installed, some linux distributions include it, otherwise it can obtained from:
http://freedesktop.org/Software/shared-mime-info
This module requires these other modules which can be obtained from the CPAN if they are not already installed on your system:
Copyright (c) 2003, 2008 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。