|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^2: File handles in regular expressionsby Lotus1 (Hermit) |
| on Oct 19, 2012 at 15:26 UTC ( #999957=note: print w/ replies, xml ) | Need Help?? |
|
Your solution only matches if the line at the same line number in both files is the same. The OP was attempting to match each line in file1 against each line in file2. For the files listed below only the first line is matched even though there are four lines that match.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||