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.
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.