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.
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (173 votes),