Basically, check that all lines in FILE1 are resident in FILE2
I don't know if I'd even use perl for the bulk of this -- `diff -b` will ignore whitespace. If the lines might appear in different order between the two files, sort them first.
You can then use perl to process the output, so you can accept the case of line in FILE2 that aren't in FILE1.
In reply to Re: Match but ignore white space
by jhourcle
in thread Match but ignore white space
by blackbeard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |