Hello again. Thanks for all the info so far, it's really helped. Someone mentioned that I was using C like for loops instead of perl-like ones ... I didn't even know there was a difference! lol! And I was wondering why it's generally not a good idea to feed a file into an array first. Would that be because of memory perhaps? As you can probably guess from my example, I'm a bit of a novice, but would like to progress as quickly as. Everyone has been extremely helpful. Thanks.
p.s. What does the 'reputation' comment mean at the top of each of my posts? And what does OP stand for? Thanks