Posted on 2008-08-17 20:08:35-07 by adamowski in response to 8602
Re: WWW-Mechanize-SpamCop on Windows XP with ActivePerl

I'm using this script:

#!/usr/bin/perl -w use Data::Dumper; use LWP::DebugFile ('+'); use WWW::Mechanize::SpamCop; $s = WWW::Mechanize::SpamCop->new( login => 'MY_SPAMCOP_EMAIL_ADDRESS', passwd => 'MY_SPAMCOP_PASSWORD' ); my @result = $s->report_all; print "Reported spams: ".$result[0]."\n"; print "Dropped spams: ".$result[1]; print "\n\n";

Try it.

Direct Responses: 8624 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.