I suspect that you are going to be inventing at least a few
spokes on that wheel. Step one is quite doable with
File::Find
which should be already installed with Perl.
Step 2 is all you. You should decide how to parse the files
and compare them. Do you really need a full file diff?
If so you may just consider jobbing it out to the unix
diff. If you are just looking for one or two specific things
I'd recommend parsing it a little more manually than diff.
Sorry I can't help more than that but it is a weird
thing by the description.
--
$you = new YOU;
honk() if $you->love(perl)