in reply to Arrays and Loops
Thank you for you prompt reply everyone. I actually used the very first reply in my application because of the ease of maintaining the code. That's not to say that none of the other suggestions when insufficient. That's quite the opposite. It's nice to know that perl is so versitile that you can do what you want very many different ways. Depending on the purpose the other examples might fit a little better than the one that I used.