Adam Monsen
and 1 contributors

NAME

Email::AutoReply::DB - interface defining Email::AutoReply database interaction

DESCRIPTION

Email::AutoReply keeps track of who it's sent email to and when. Any subclass of this class can be used for this purpose. Subclassers must implement all methods.

METHODS

store

Store an Email::AutoReply::Recipient in the database.

Input: Takes one argument, a (populated) Email::AutoReply::Recipient object.

Output: none.

fetch

Fetch an Email::AutoReply::Recipient from the database, if one exists.

Input: Takes one string argument, an email address.

Output: A populated Email::AutoReply::Recipient or 0 if none could be found matching the given string.

fetch_all

Fetch all Email::AutoReply::Recipient objects from the database, if any exist.

Input: none.

Output: A list of Email::AutoReply::Recipient objects, or zero.

AUTHOR

Adam Monsen, <haircut@gmail.com>

SEE ALSO

Email::AutoReply, Email::AutoReply::Recipient

COPYRIGHT AND LICENSE

Copyright (C) 2004-2008 by Adam Monsen

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.

See http://www.perl.com/perl/misc/Artistic.html