Hey guys, I'm learning perl and am having a little trouble. I stored an entire text file of words in an array and need to sort the array by how frequent each word appears, then output to a text file. Instead of showing the numeric amount of times a word appears, I need the word to repeat. Any ideas?