J
Justin Wyllie
Hi
I'm running a program sa-learn that comes with SpamAssassin anti-spam s/w.
This script fails on this line:
require Mail::SpamAssassin::CmdLearn;
with a message saying the module can't be found in @INC. The print-out for
@INC includes:
Can't locate Mail/SpamAssassin/CmdLearn.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/5.6.1/i386-freebsd
/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl)
and the module is installed in
usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/CmdLearn.pm
Is there any reason other than it not being there that a Perl require call
may fail?
Many thanks
Justin Wyllie
I'm running a program sa-learn that comes with SpamAssassin anti-spam s/w.
This script fails on this line:
require Mail::SpamAssassin::CmdLearn;
with a message saying the module can't be found in @INC. The print-out for
@INC includes:
Can't locate Mail/SpamAssassin/CmdLearn.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/5.6.1/i386-freebsd
/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl)
and the module is installed in
usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/CmdLearn.pm
Is there any reason other than it not being there that a Perl require call
may fail?
Many thanks
Justin Wyllie