I have a number of text files each with 4 pieces of data on each line: name, date, time and comment.
I have used $fh to open and read the data and put them in 1 long variable called $AllComments.
I then need to sort them by date and time before I explode each line and display the data.
I am just having trouble sorting the variable called $AllComments
Any suggestions?
Many thanks, Patrick