7 my $file = 'Porting/core-team.json';
8 open my $fh, '<:encoding(UTF-8)', $file
9 or die "can't read $file: $!\n";
11 my $json = do { local $/; <$fh> };
13 my $data = JSON::PP->new->decode($json);
17 for my $key (qw( active inactive )) {
18 $pod .= qq{=head2 \u$key Members\n\n=over 4\n\n};
20 my @items = map {; encode('utf-8', "<$_>") } $data->{$key}->@*;
22 open(my $fh, '-|', 'git', 'check-mailmap', @items)
23 or die "error running check-mailmap: $!";
27 $pod .= "=item $_\n" for sort @lines;