Yes a form of encryption is the final result, this is just a step but the idea is to use a sentence determind by <> and push each word into an array.
@numbers2 is in a random order because i want it to be, on my computer there are 26 random lists like @numbers2 to be used to switch out ID's. Because if someone knew the 6 digits where positions of a word in the language, they could just get their own list and count till they found the word. The purpose of the random @numbers2 is to switch the 6 digit keys that represent position with othe random 6 digit keys.
So far i have been thinking about and am thinking of making a hash where keys are numbers (0..$#numbers2) and values are @numbers 2 so that when i give it position 0 (for the word "a" it will return a random number such as 300460 etc.
Your right when i go back and optimize this i may well just make @words a %hash