/[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 32 by dpavlin, Mon May 16 22:32:58 2005 UTC revision 33 by dpavlin, Tue May 17 11:09:08 2005 UTC
# Line 83  if ($list_name = $opt->{'new'}) { Line 83  if ($list_name = $opt->{'new'}) {
83    
84          die "need e-mail address for list (as argument or on STDIN)\n" unless ($email);          die "need e-mail address for list (as argument or on STDIN)\n" unless ($email);
85    
86          my $l = $nos->_get_list($list_name) || $nos->_add_list(          my $id = $nos->new_list(
87                  list => $list_name,                  list => $list_name,
88                  email => $email,                  email => $email,
89          ) || die "can't add list $list_name\n";          ) || die "can't add list $list_name\n";
90    
91          print "added list $list_name with ID ",$l->id,"\n";          print "added list $list_name with ID $id\n";
92    
93    
94  =item --list[=list_name]  =item --list[=list_name]

Legend:
Removed from v.32  
changed lines
  Added in v.33

  ViewVC Help
Powered by ViewVC 1.1.26