Help with a basic perl program?

Falken

New member
I have an assignment for one of my classes, basic perl stuff. I need to write a small perl program that writes 5 baseball players to a hash with their names and number of home runs. Then I'm supposed to have it print out the players and the # of homeruns, one per line. After that, I need to sort it in alphabetical order. I have two questions: 1. how do I get it to print the values out, and 2. how do I sort it in alpha order. Thanks in advance!
 
Back
Top