in reply to Re: LOG FILE HELP IN PERL
in thread LOG FILE HELP IN PERL

Your bug is that you are setting $md5 on every single line of input. So when you hit an error line, you no longer know the md5 from the line before.
Except that he has $/ = "";, which makes it read paragraph by paragraph.