Thanks for taking the time to reply. I am very much a beginner, and still learning the ropes. I am not very au fait with the "tidy" etiquette of perl yet. I will have a look at Perl Tidy and make sure I improve my scripting technique.
Many thanks, E