Thank you very much for your input, it has helped me to
understand the methodology. I am quite new at this and can't seem to leave it alone unless I understand it. My question, if I may be a little more specific, I am dealing with a situation where I need to action something if for example a file with following contents;
sqltable table loaded successfully with 282873 records.
mike_test table loaded successfully with 282873 records.
sarak_mike table loaded successfully with 282873 records.
compares to a hard coded array @report=("sqltable", "mike_test ", "sarak_mike");
I need to check an array containing the file input @file to see whether @file contains at least all the contents of @report.
Your help is greatly appreciated.