LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2006, 09:20 PM   #16
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751

yup, that's the one
 
Old 06-01-2006, 09:45 PM   #17
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
This this link, hopefully it will work. I had to make it a bzip archive as the site wouldn't take .pl files

http://www.savefile.com/files/5893031

Chris
 
Old 06-02-2006, 01:19 AM   #18
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl Script Program (need) : SpamAssassin-ClamAV-Procmail-Howto cyberjames Slackware 8 01-27-2005 11:53 AM
Apache Stats Shell Script Pho Linux - General 1 12-18-2004 09:41 AM
Run email script from clamav Pete M Programming 0 07-25-2004 04:38 PM
Converting a Windows Perl script to a Linux Perl script. rubbercash Programming 2 07-19-2004 10:22 AM
Including methods from a perl script into another perl script gene_gEnie Programming 3 01-31-2002 05:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration