There may be a module for this but I'd like to figure it out myself(or maybe with a little help)
Say you have two sets of lines of text, and you need to find all lines in the first list that either doesn't match any line in the second list or if there are lines missing in the first list(lines in the second list that should be in the first). I'm doing the first part with a bunch of nested if's(I know it's horrible).and the second part with if,then,else statements. How do I replace the nested if's and do the same thing, for example: if test1 != record1 and =! record2, and =! record3,4,5.... do something.