i'd say c++ primarily because that was the old staple for all computer science courses (now it's java) so you'd probably find a LOT of info out there (even though im sure c will have just as much).
as mentioned, perl is a scripting language, so if you want to go that route, go for python (which is basically like a c scripting language, as far as i know).