Antispam-Toolkit

 view release on metacpan or  search on metacpan

lib/Antispam/Toolkit/Role/BerkeleyDB.pm  view on Meta::CPAN

=head2 $class->_store_value( $db, $value )

This method will be called as a class method. The method is passed a
L<BerkeleyDB> object and value to store in the database.

By default, it just stores the literal value. You can replace this method if
you want to do something different, like handle wildcard values.

=head2 $db->match_value($value)

This method looks up a value to see if it is stored in the database. By
default, it expects the value to match a key stored in the database.

=head1 ROLES

This role does the L<Antispam::Toolkit::Role::Database> role. It provides an
implementation of C<< $db->match_value() >> method, but you can write your own
if necessary.

=head1 BUGS



( run in 0.550 second using v1.01-cache-2.11-cpan-64827b87656 )