The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WWW::Modbot::Post - tools to moderate Web-based spam

VERSION

Version 0.01

SYNOPSIS

The WWW::Modbot::Post module encapsulates post-specific functionality for the modbot (primarily display and testing).

FUNCTIONS

new

The new function takes a reference to the server whose post this is, and the ID of the post. We can also simply pass in a hash reference to work with posts that aren't using the regular Modbot server mechanisms.

test

test runs a single test against the post.

judge

judge runs a ruleset against the post and assigns a spam score.

as_text

as_text returns a string containing a multi-line text representation of the post.

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.