/[notice-sender]/trunk/sender.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/sender.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 49 by dpavlin, Tue May 24 16:44:34 2005 UTC revision 53 by dpavlin, Wed May 25 15:20:38 2005 UTC
# Line 117  on that list. Line 117  on that list.
117          }          }
118    
119          foreach my $list (@lists) {          foreach my $list (@lists) {
120                  print $list->name," <",$list->email,">\n";                  print $list->name,": ",$list->from_addr," <",$list->email,">\n";
121                  foreach my $u ($nos->list_members( list => $list->name )) {                  foreach my $u ($nos->list_members( list => $list->name )) {
122                          print "\t",$u->{'name'}, " <", $u->{'email'}, ">\n";                          print "\t",$u->{'name'}, " <", $u->{'email'}, ">\n";
123                  }                  }
# Line 136  argument) or read from C<STDIN>. List sh Line 136  argument) or read from C<STDIN>. List sh
136    
137  } elsif ($list_name = $opt->{'add'}) {  } elsif ($list_name = $opt->{'add'}) {
138    
139          my $list = $lists->find_or_create({          my $list = $nos->_get_list($list_name) || die "can't find list $list_name\n";
                 name => $list_name,  
         }) || die "can't add list $list_name\n";  
140    
141          my $added = 0;          my $added = 0;
142    

Legend:
Removed from v.49  
changed lines
  Added in v.53

  ViewVC Help
Powered by ViewVC 1.1.26