104 |
=cut |
=cut |
105 |
|
|
106 |
} elsif ($add_opt) { |
} elsif ($add_opt) { |
|
#my $noticer = $loader->find_class('Noticer') || die "can't find my class!"; |
|
107 |
my $list = $lists->find_or_create({ |
my $list = $lists->find_or_create({ |
108 |
name => $add_opt, |
name => $add_opt, |
109 |
}) || die "can't add list $add_opt\n"; |
}) || die "can't add list $add_opt\n"; |
110 |
|
|
111 |
if ($email_opt && $list->email ne $email_opt) { |
if ($email_opt && $list->email ne $email_opt) { |
112 |
$list->email($email_opt); |
$list->email($email_opt); |
113 |
$list->update; |
$list->update; |