WWW::Modbot::Ruleset - a class for ruleset functionality (calls successive tests and returns a composite score)
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 runs the specified series of tests against a post (a hashref of fields) and returns the score calculated.
<michael at despammed.com>
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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
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.