--- trunk/sender.pl 2005/05/24 16:44:34 49 +++ trunk/sender.pl 2005/05/25 15:20:38 53 @@ -117,7 +117,7 @@ } foreach my $list (@lists) { - print $list->name," <",$list->email,">\n"; + print $list->name,": ",$list->from_addr," <",$list->email,">\n"; foreach my $u ($nos->list_members( list => $list->name )) { print "\t",$u->{'name'}, " <", $u->{'email'}, ">\n"; } @@ -136,9 +136,7 @@ } elsif ($list_name = $opt->{'add'}) { - my $list = $lists->find_or_create({ - name => $list_name, - }) || die "can't add list $list_name\n"; + my $list = $nos->_get_list($list_name) || die "can't find list $list_name\n"; my $added = 0;