Mail::SimpleList::Aliases - manages Mail::SimpleList::Alias objects
use Mail::SimpleList::Aliases; my $aliases = Mail::SimpleList::Aliases->new( '.aliases' );
Mail::SimpleList::Aliases manages the creation, loading, and saving of Mail::SimpleList::Alias objects. If you'd like to change how these objects are managed on your system, subclass or reimplement this module.
Creates a new Mail::SimpleList::Aliases object. The single argument is optional but highly recommended. It should be the path to where Alias data files are stored. Beware that in filter mode, relative paths can be terribly ambiguous.
If no argument is provided, this will default to
~/.aliases for the invoking user.
Returns the directory where this object's Alias data files are stored.
Returns true or false if an alias with this name exists.
Creates and returns a Mail::SimpleList::Alias object represented by this alias name. This can return nothing if the alias does not exist.
Creates and returns a new Mail::SimpleList::Alias object, setting the owner. Note that you will need to
save() the object yourself, if that's important to you.
Saves a Mail::SimpleList::Alias object provided as
$alias with the given name in
email@example.com, with helpful suggestions from friends, family, and peers.
No plans. It's pretty nice as it is.
Mail::Action::Storage, the parent class.
Copyright (c) 2016, chromatic. All rights reserved. This module is distributed under the same terms as Perl itself. Convenient for you!