vis1982 has asked for the wisdom of the Perl Monks concerning the following question:
"You have two files to compare by searching keyword from one file into another file"
Sounds like homework to me, like your previous posts matching two files and print together the inputs and matching twof files and print the output which are similar to this request.