Create a hash of elements to look for. You already have a list of items fetched from the file. Then read up on the exists function.
This will help - How can I tell whether a certain element is contained in a list or array?In reply to Re: How to club different lines of program into one
by arc_of_descent
in thread How to club different lines of program into one
by ashok13123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |