Question: Program in Perl that reads a file that has the names and the salaries of employees and put the lines into an array. Please do

Program in Perl that reads a file that has the names and the salaries of employees and put the lines into an array. Please do the following:
a. display the array
b. sort the data by the names , comparing the first letters of the names
c. sort the data by the names , comparing the second letters of the names
Please use the data as arrays:
Jo 1000, Peter 2000, Ann 1500

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!