File::MMagic 1.27 doesn't correctly handle subclassing. The object returned by new is blessed into 'File::MMagic' instead of the subclass. The author has accepted a patch to correct this behavior. Once the patched version is released on CPAN, new() should be removed and the fixed version required.
SVK::MimeDetect::FileMMagic
Implement MIME type detection using the module File::MMagic.
Michael Hendricks <michael@ndrix.org>
Copyright 2003-2006 by Chia-liang Kao <clkao@clkao.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install SVK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVK
CPAN shell
perl -MCPAN -e shell install SVK
For more information on module installation, please visit the detailed CPAN module installation guide.