File::MMagic
File::MMagic is a Perl module to guess file types from its contents like file(1) command.
The code is based on file.kulp, a part of The Unix Reconstruction Project. And it contains built-in magic entries, almost of them come from Apache mod_mime_magic module, so the software distributes under The Apache License.
Latest Version
- Version 1.27 was released (2006/05/23)
links
- Japanese page
- CPAN
- Source code
Similar software feature matrix
| Software | Based lib | Builtin Magic | check by file | by contents | by filename | special file |
| File::MMagic | pure perl | o | o | o | o | x |
| File::MimeInfo::Magic | pure perl | x | o | o | x | o |
| File::Type | pure perl | o | o | o | o | x |
| File::MMagic::XS | file(1) | o | o | o | o | o |
| File::LibMagic? | libmagic | x | o | o | x | o |
