http://www.perlmonks.org?node_id=677814


in reply to How best to identify & Categorize Source Code?

Try File::Type. I've used it only a bit, but it at least claims to fix some of the problems with File::MMagic.
  • Comment on Re: How best to identify & Categorize Source Code?