Ok.
1. Really don't have time to get into this in depth, but hope the following helps
2. It's a CGI prog ie designed to run via Apache; I don't really have capability to get into it here.
3. Needs the logfiles mentioned at the top of the prog.
4. I'm guessing the file format(s) have changed/file not exists?
5. First piece of code run would be sub read_freshclam_log(), called from line 88, followed by open() at line 90 and fwd.
Src for sub is immediately above ie before line 88.
6. Personally I'd start from there and put in some print statements to see what's going on.
7. If you don't know Perl, you're going to have to learn anyway to mess with this.
You'll find this page v useful:
http://www.perl.com/doc/FAQs/cgi/perl-cgi-faq.html
BTW, Learning Perl (aka Llama book) is a v good intro to the lang.
8. Anybody else want to jump in/take over from here, feel free.
9. I'll still help with basic Perl qns though ...
HTH