I need to keep the parsed file in order as I am parsing out the value of the firstname and using it in a SQL query which then gives me a result which I will place back into the same position as the firstname value. I am aware that this is a complicated procedure and as I said I am a newbie to perl and so I am trying to boil down the solution into smaller, bitesize pieces so that I can learn and understand each step!
So any clues or explanation would be great
Thanks