DADA::MailingList::Settings::Db
use DADA::MailingList::Settings; my $ls = DADA::MailingList::Settings->new(-List => 'listshortname'); my $list_info = $ls->get(); $ls->save({key => 'value'});
This module holds the DB File backend for list settings.
returns the DADA::Mailinglist::Settings object.
my $ls = DADA::MailingList::Settings->new(-List => 'listshortname');
you can also optionally pass the -new_list = 1> parameter to circumvent list checks.
my $list_info = $ls->get();
returns a hasref of the list settings. Keys are the name of the setting, value is the value of the setting.
You can optionally pass the replaced = 1> paramter to change pseudo tags in html and email messages to their value.
$ls->save({settingkey => 'settingvalue'});
saves a setting. Notice that this method takes a hashref, and nothing else.
DADA::MailingList::Settings
Copyright (c) 1999 - 2005 Justin Simoni me@justinsimoni.com http://justinsimoni.com All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.