Read other letters about this article
You mention Perl and Python, but omit Ruby. I think Ruby would give you more of what you're looking for than either of those two languages. It has a very accessible syntax, and it even has a nice command interpreter you can get results out of immediately.