in reply to
find common data in multiple files
$result{$key} = 1 and then $result{$key}++ will leave you with $result{$key} == 2 no matter how many times called. Plus, this doesn't account for duplicates in files.
Comment on
Re: find common data in multiple files
In Section
Seekers of Perl Wisdom