How can I match data from two large files in Perl?
<p>I have 2 (large) files. The first one is about 200k lines, the second one about 30 millions lines.</p>

<p>I want to check if each line of the first one is in the second one using Perl.
Is it faster to compare directly each line of the first to each line of the second or is it better to store them all in two different arrays and then manipulate arrays?</p>