CGI::Wiki::Plugin::SpamMonkey - CGI::Wiki plugin for SpamMonkey
use CGI::Wiki::Plugin::SpamMonkey; my $plugin = CGI::Wiki::Plugin::SpamMonkey->new; $wiki->register_plugin( plugin => $plugin ); ... if ($plugin->is_spam( content => $content, metadata => \%metadata)) { $wiki->redirect( '/spamerror.html' ); } else { $wiki->commit(...); }
This module is a plugin for CGI::Wiki sites to interface with the SpamMonkey module.
$plugin->is_spam( content => $content, metadata => \%metadata)
Returns a true value if the content or metadata is spam.
Please report any bugs to rt.cpan.org or post to bugs-cgi-wiki-plugin-spammonkey at rt.cpan.org
This module, and other related modules are discussed on the mailing list: http://www.earth.li/cgi-bin/mailman/listinfo/cgi-wiki-dev
Ivor Williams CPAN ID: IVORW ivorw-openguides at xemaps.com http://openguides.org/
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl(1).
To install CGI::Wiki::Plugin::SpamMonkey, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Wiki::Plugin::SpamMonkey
CPAN shell
perl -MCPAN -e shell install CGI::Wiki::Plugin::SpamMonkey
For more information on module installation, please visit the detailed CPAN module installation guide.