I would recommend Perl or Python (or perhaps VB.NET if you're on Windows), or, if you want a compiled language for performance purposes, C.