Sietima::Role::WithMailStore - role for lists with a store for messages
version 1.1.2
my $sietima = Sietima->with_traits('WithMailStore')->new({ %args, mail_store => { class => 'Sietima::MailStore::FS', root => '/tmp', }, });
This role adds a "mail_store" attribute.
mail_store
On its own, this role is not very useful, but other roles (like SubscriberOnly::Moderate) can have uses for an object that can persistently store messages.
SubscriberOnly::Moderate
Required instance of an object that consumes the Sietima::MailStore role. Instead of passing an instance, you can pass a hashref (like in the "synopsis"): the class key provides the class name, and the rest of the hash will be passed to its constructor.
Sietima::MailStore
class
Gianni Ceccarelli <dakkar@thenautilus.net>
This software is copyright (c) 2023 by Gianni Ceccarelli <dakkar@thenautilus.net>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Sietima, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sietima
CPAN shell
perl -MCPAN -e shell install Sietima
For more information on module installation, please visit the detailed CPAN module installation guide.