in reply to
How best to identify & Categorize Source Code?
If you're on *nix, you could read the first line to see what compiler/interpreter/shell is invoked....
Comment on
Re: How best to identify & Categorize Source Code?
In Section
Seekers of Perl Wisdom