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 textThe 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 tttt: Perl5 module source, ASCII textStill, 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?
file command does not recognize perl module
file command