toddwallace has asked for the wisdom of the Perl Monks concerning the following question:

I have 2 files that I want to compare and mail the differences. One is file1 and one is a valid-host list. I want to make sure that the the contents of file1 is in the valid-host list. If there is an entry in file1 that is not in the valid-host list, I want to email it to an address.

Can anyone help me?

20050119 Changed title from "toddwallace" to "Compare text files and send email"

Replies are listed 'Best First'.
Re: Compare text files and send email
by Errto (Vicar) on Jan 19, 2005 at 01:48 UTC
    Some Perl modules that may help you include Algorithm::Diff and Mail::Send. But it would be most helpful if you could show the code you already have so that Monks can advise you on it. Also please give your question a title so that others with similar questions may easily find it later.