in reply to Re^2: match two files
in thread match two files

Good catch. for OP's benefit add,
use strict; use warnings;
And fixed the bareword file handle. Missed that when updating their code. :) ty....