Skip to content

Commit

Permalink
fix e-mail addresses of multiple tsars
Browse files Browse the repository at this point in the history
  • Loading branch information
gabor committed Jun 3, 2010
1 parent bf45b17 commit 7033e16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/xml
@@ -1,6 +1,7 @@
#!/usr/bin/perl -w

use strict;
use Data::Dumper qw(Dumper);
use File::Copy qw(copy);
use File::Find::Rule;
use File::Path qw(mkpath);
Expand Down Expand Up @@ -48,10 +49,10 @@ foreach my $g ($doc->findnodes('//group')) {
my @tsar;
foreach my $t ($g->findnodes('tsar')) {
my $tsar = $t->findvalue('name/text()');
my $tsaremail = $g->findvalue('email/user/text()');
my $tsaremail = $t->findvalue('email/user/text()');
#$tsaremail .= ' <' . int(rand(100)) . '> ';
$tsaremail .= ' <replace me by @> ';
$tsaremail .= $g->findvalue('email/domain/text()');
$tsaremail .= $t->findvalue('email/domain/text()');
push @tsar, { name => $tsar, mail => $tsaremail };
}

Expand Down

0 comments on commit 7033e16

Please sign in to comment.