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.
Priority 1, Priority 2, Priority 3
Priority 1, Priority 0, Priority -1
Urgent, important, favour
Data loss, bug, enhancement
Out of scope, out of budget, out of line
Family, friends, work
Impossible, inconceivable, implemented
Results (60 votes),