I'm sorry you feel so strongly, but i am not a student set homework... i'm at the end of my gcse years and learning perl as a "hobby" i am trying to teach myself and without much aid its quiet difficult and have learnt alot of the last week or so. Im sorry i am not very good at writing closed code but hey. The Standard input doesnt matter, surely you got the idea that there was a value in a string im trying to use that to call up a value in an array???! So as for you many accusations that were all wrong, could you actually give me some usefull advise instead of shoving your own head so far up your arse because you can code better than me... oh yeah, Thanks.