Ivor Williams > CGI-Wiki-Plugin-SpamMonkey-0.03 > CGI::Wiki::Plugin::SpamMonkey

Download:
CGI-Wiki-Plugin-SpamMonkey-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

CGI::Wiki::Plugin::SpamMonkey - CGI::Wiki plugin for SpamMonkey

SYNOPSIS ^

  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(...);
  }

DESCRIPTION ^

This module is a plugin for CGI::Wiki sites to interface with the SpamMonkey module.

USAGE ^

  $plugin->is_spam( content => $content, metadata => \%metadata)

Returns a true value if the content or metadata is spam.

BUGS ^

Please report any bugs to rt.cpan.org or post to bugs-cgi-wiki-plugin-spammonkey at rt.cpan.org

SUPPORT ^

This module, and other related modules are discussed on the mailing list: http://www.earth.li/cgi-bin/mailman/listinfo/cgi-wiki-dev

AUTHOR ^

        Ivor Williams
        CPAN ID: IVORW
         
        ivorw-openguides at xemaps.com
        http://openguides.org/

COPYRIGHT ^

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.

SEE ALSO ^

perl(1).

syntax highlighting: