I ran "yum update" on my FC11 machine a couple of days ago, and now I'm
getting nightly cron errors:

plugin: failed to parse plugin (from @INC): syntax error at (eval 84) line 1, 
near "require Mail::SpamAssassin:"

plugin: failed to parse plugin (from @INC): syntax error at (eval 148) line 1, 
near "require Mail::SpamAssassin:"

I've seen this message periodically, but never figured out what generated it.

Can someone set me straight?  It of course doesn't mention a file, so it's hard 
to know where it's coming from.

Also, how come the eval block:


        foreach $thing (qw(Anomy::HTMLCleaner Archive::Zip Digest::SHA1 
HTML::Parser HTML::TokeParser IO::Socket IO::Stringy MIME::Base64 MIME::Tools 
MIME::Words Mail::Mailer Mail::SpamAssassin Net::DNS Unix::Syslog )) {
            unless (eval "require $thing") {
                printf("%-30s: missing\n", $thing);
                next;
            }

doesn't contain a terminating ';', i.e.:

eval "require $thing;" instead?

Thanks,

-Philip


Reply via email to