|
NAMEWWW::Mechanize::SpamCop - SpamCop reporting automation.SYNOPSISuse WWW::Mechanize::SpamCop; $s = WWW::Mechanize::SpamCop->new( login => 'login@spamcop.net', passwd => 'passwd' ); $s->report_one; $s->report_all; ABSTRACTWWW::Mechanize::SpamCop is used to automate spam reporting on spamcop.net's web site.DESCRIPTIONnewCreate a new WWW::Mechanize::SpamCop objectThe required arguments are login and passwd, you can also pass it a host, defaulting to 'www.spamcop.net:80' (the :80 is needed because of the authentication), a realm, defaulting to 'your SpamCop account' which is the domain's realm for autentication. and a report default to 'Report Now', which is the name of the link on the web page. report_oneReport one spamreturns :
report_allReport all waiting spamsIf called in a scalar context, returns the number of spam reported. If in an array context, returns an array containing the number of reported spams and the number of old spams (not reported). remove_unreportedRemoves all unreported spams. Returns the number of removed spams as scalar value.SEE ALSOWWW::MechanizeAUTHORMathieu Arnold, <mat@cpan.org> new maintainer: Aleksander Adamowski, <cpan@olo.org.pl>COPYRIGHT AND LICENSECopyright 2003,2007 by Mathieu Arnold, Aleksander AdamowskiThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. POD ERRORSHey! The above document had some coding errors, which are explained below:
Visit the GSP FreeBSD Man Page Interface. |