I need a hand with my perl. This has worked, but for some reason no more. sa-learn says:
defined(@array) is deprecated at /etc/mail/spamassassin/EmailBL.pm line 321. (Maybe you should just omit the defined()?) plugin: failed to parse plugin /etc/mail/spamassassin/clamav.pm: Can't locate File/Scan/ClamAV.pm in @INC (you may need to install the File::Scan::ClamAV module) (@INC contains: lib /usr/local/share/perl/5.14.2 /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl) at /etc/mail/spamassassin/clamav.pm line 14. BEGIN failed--compilation aborted at /etc/mail/spamassassin/clamav.pm line 14. Compilation failed in require at /usr/local/share/perl/5.14.2/Mail/SpamAssassin/PluginHandler.pm line 108. ------------------- jarif@whirlwind:~$ locate ClamAV.pm /usr/local/share/perl/5.10.1/File/Scan/ClamAV.pm /usr/local/share/perl/5.14.2/File/Scan/ClamAV.pm The file is there. Why can't it be found? ------------------- jarif@whirlwind:~$ head /usr/local/share/perl/5.14.2/File/Scan/ClamAV.pm # $Id: ClamAV.pm,v 1.91 2009/02/07 12:43:13 jamtur Exp $ # Author: Colin Faber cfa...@fpsn.net, James Turnbull ja...@lovedthanlost.net package File::Scan::ClamAV; use strict; use warnings; use vars qw($VERSION); use File::Find qw(find); use IO::Socket; -- jarif.bit
signature.asc
Description: OpenPGP digital signature