...and store in an array? I have to then make sure when the word quit is entered the program will print out the lines in descending order.
Then I must alter the program so that I know how many lines are printed and prints out only lines 3, 4, 8.
I think that I am supposed to create a text file and then open the file but because I just started using Perl I'm confused on how to begin.
Then I must alter the program so that I know how many lines are printed and prints out only lines 3, 4, 8.
I think that I am supposed to create a text file and then open the file but because I just started using Perl I'm confused on how to begin.