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


Email-AutoReply documentation Contained in the Email-AutoReply distribution.

Index


Code Index:

NAME

Top

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

DESCRIPTION

Top

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

Top

Adam Monsen, <haircut@gmail.com>

SEE ALSO

Top

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

COPYRIGHT AND LICENSE

Top


Email-AutoReply documentation Contained in the Email-AutoReply distribution.
package Email::AutoReply::DB;
our $rcsid = '$Id: DB.pm 3002 2008-06-05 20:23:24Z adam $';

use strict;
use warnings;

use Spiffy '-Base';

stub 'store';

stub 'fetch';

stub 'fetch_all';

return 1;

__END__