NAME

WWW::Modbot::Ruleset - a class for ruleset functionality (calls successive tests and returns a composite score)

VERSION

Version 0.01

SYNOPSIS

FUNCTIONS

new

new takes a reference to the bot and the name of a ruleset. It loads the text of the ruleset from the configuration structure, then returns.

judge

judge runs the specified series of tests against a post (a hashref of fields) and returns the score calculated.

AUTHOR

Michael Roberts, <michael at despammed.com>

BUGS

Please report any bugs or feature requests to bug-www-modbot at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Modbot. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WWW::Modbot

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2008 Vivtek, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.