While perl is certainly useful for scripting, I'd reecommend you learning python/ruby (personally I use former) - they are most universal among these 5 language; whereas js/php are good mainly for web related stuff and perl won't give you as much possibilities either.