The file command (Debian Jessie) in does not recognize some Perl modules. For example: /usr/share/perl5/XML/SAX.pm (from libxml-sax-perl) gives:
$ file /usr/share/perl5/XML/SAX.pm
/usr/share/perl5/XML/SAX.pm: C++ source, ASCII text
The module starts with:
# $Id$
package XML::SAX;
use strict;
use vars qw($VERSION @ISA @EXPORT_OK);
When I remove the first two line, file sees it as a Perl module:
$ file tt
tt: Perl5 module source, ASCII text
Still, other modules starting with comment, such as /usr/lib/i386-linux-gnu/perl/5.20.2/Encode.pm
are correctly identified.
Is this a bug?
And where do I find the uncompiled mime data for /usr/share/file/magic.mgc
?