| 1 | package Antispam::Toolkit; | ||
| 2 | BEGIN { | ||
| 3 | $Antispam::Toolkit::VERSION = '0.08'; | ||
| 4 | } | ||
| 5 | |||
| 6 | use strict; | ||
| 7 | use warnings; | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | # ABSTRACT: Classes, roles, and types for use by other Antispam modules | ||
| 12 | |||
| 13 | |||
| 14 | |||
| 15 | =pod | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Antispam::Toolkit - Classes, roles, and types for use by other Antispam modules | ||
| 20 | |||
| 21 | =head1 VERSION | ||
| 22 | |||
| 23 | version 0.08 | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This distribution provides a set of useful classes, roles, and types for use | ||
| 28 | by other Antispam modules. It's not really useful on its own. | ||
| 29 | |||
| 30 | =head1 ALPHA WARNING | ||
| 31 | |||
| 32 | This code is still quite new. The API it provides may change at any time. | ||
| 33 | |||
| 34 | =head1 INCLUDED MODULES | ||
| 35 | |||
| 36 | =head2 L<Antispam::Toolkit::Result> | ||
| 37 | |||
| 38 | A class for describing the result of a spam check. | ||
| 39 | |||
| 40 | =head2 L<Antispam::Toolkit::Types> | ||
| 41 | |||
| 42 | Exports some useful types using L<MooseX::Types>. | ||
| 43 | |||
| 44 | =head2 L<Antispam::Toolkit::Role::BerkeleyDB> | ||
| 45 | |||
| 46 | A role which can be used when you want to store data in a BerkeleyDB | ||
| 47 | database. This might be something like a list of known-bad ip addresses or | ||
| 48 | email addresses. | ||
| 49 | |||
| 50 | =head2 L<Antispam::Toolkit::Role::Database> | ||
| 51 | |||
| 52 | This is an interface-only role for classes that do some sort of database | ||
| 53 | lookup (SQL, Berkeley DB, etc.) | ||
| 54 | |||
| 55 | =head2 L<Antispam::Toolkit::Role::ContentChecker> | ||
| 56 | |||
| 57 | A role for classes which check whether a piece of content is spam. | ||
| 58 | |||
| 59 | =head2 L<Antispam::Toolkit::Role::EmailChecker> | ||
| 60 | |||
| 61 | A role for classes which check whether an email address is associated with spam | ||
| 62 | |||
| 63 | =head2 L<Antispam::Toolkit::Role::IPChecker> | ||
| 64 | |||
| 65 | A role for classes which check whether an IP address is associated with spam | ||
| 66 | |||
| 67 | =head2 L<Antispam::Toolkit::Role::URIChecker> | ||
| 68 | |||
| 69 | A role for classes which check whether a uri is linking to a spam site. | ||
| 70 | |||
| 71 | =head2 L<Antispam::Toolkit::Role::UsernameChecker> | ||
| 72 | |||
| 73 | A role for classes which check whether a user is a spammer. | ||
| 74 | |||
| 75 | =head1 BUGS | ||
| 76 | |||
| 77 | Please report any bugs or feature requests to | ||
| 78 | C<bug-antispam-toolkit@rt.cpan.org>, or through the web interface at | ||
| 79 | L<http://rt.cpan.org>. I will be notified, and then you'll automatically be | ||
| 80 | notified of progress on your bug as I make changes. | ||
| 81 | |||
| 82 | =head1 DONATIONS | ||
| 83 | |||
| 84 | If you'd like to thank me for the work I've done on this module, please | ||
| 85 | consider making a "donation" to me via PayPal. I spend a lot of free time | ||
| 86 | creating free software, and would appreciate any support you'd care to offer. | ||
| 87 | |||
| 88 | Please note that B<I am not suggesting that you must do this> in order for me | ||
| 89 | to continue working on this particular software. I will continue to do so, | ||
| 90 | inasmuch as I have in the past, for as long as it interests me. | ||
| 91 | |||
| 92 | Similarly, a donation made in this way will probably not make me work on this | ||
| 93 | software much more, unless I get so many donations that I can consider working | ||
| 94 | on free software full time, which seems unlikely at best. | ||
| 95 | |||
| 96 | To donate, log into PayPal and send money to autarch@urth.org or use the | ||
| 97 | button on this page: L<http://www.urth.org/~autarch/fs-donation.html> | ||
| 98 | |||
| 99 | =head1 AUTHOR | ||
| 100 | |||
| 101 | Dave Rolsky <autarch@urth.org> | ||
| 102 | |||
| 103 | =head1 COPYRIGHT AND LICENSE | ||
| 104 | |||
| 105 | This software is Copyright (c) 2011 by Dave Rolsky. | ||
| 106 | |||
| 107 | This is free software, licensed under: | ||
| 108 | |||
| 109 | The Artistic License 2.0 (GPL Compatible) | ||
| 110 | |||
| 111 | =cut | ||
| 112 | |||
| 113 | |||
| 114 | __END__ |