I have a group of files that are sent to me every month and I'd like to write a quick Perl script to check to make sure that all of the fields are coming in. I wrote a Perl script to dump out all the field names (it dumps out all the headers which are the field names) and I've made sure it's complete. Now I want to run through the new files coming in, match the headers in those files to my list and print any fields that are in the list but not in the files cominng in. The list has two fields in it -- the name of the file in field1 and the names of the fields in field2. I'm looking for some help in just a general, what is the best way to approach this type of thing. I can put the complete list of fields in Excel and read from that or I guess I can read the list into a Perl array but then I need to go through all of the files, match to the filename in the list and then look for the fields in each file. Dan
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com