While you are at it, download and have fun with Perl!
I have been using Perl for:
CGI scripts
rolling log files on servers
manipulating text files
accessing MySQL databases (DBI module)
The text editor BBEdit is Perl-friendly, has syntax coloring and the floating Perl Tool palette is handy. Perl, Mac OS X, and BBEdit are a great combination.