Thank you all for your replies.... I can see a lot of scenarios now where I should have used a hash. Seems I have a bit of code I will be rewriting. The examples you guys gave me helped me a lot and inspired me to do more with hashes(As it seems I should have been doing).