Thanks Felix, I figured it out: mcedit messed the pasted text. The wrong line
was this comment:
 #printf "%2.2f%%\t(unknown/illegal)\n",
(($originsum{$key}-$tldsum)/$originsum{$key}*100) if $tldsum &&
($originsum{$key}-$tldsum);

Thanks again for the script.
Sergio

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Felix Buenemann
> Sent: Monday, October 06, 2008 11:55 PM
> To: [email protected]
> Subject: Re: [spamdyke-users] Updated Spamdyke Statistics Script
> 
> 
> Hello Sergio,
> 
> Sergio Minini (NETKEY) schrieb:
> > Felix,
> > I get this error.
> > I just copied+pasted your example.
> > Thanks- Sergio
> >
> > /*** Start ***/
> >
> > [EMAIL PROTECTED] root]# cat /var/log/maillog | 
> > /etc/mitch/spamdyke_stats.pl Useless use of subtraction (-) 
> in void context at /etc/mitch/spamdyke_stats.pl
> >          line 138 (#1)
> What does line 138 in you script say? In my version it is: 
> print "------------\n";
> 
> Which can hardly cause this error ...
> 
> -- Felix
> 
> 
> _______________________________________________
> spamdyke-users mailing list
> [email protected] 
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
> 

_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to