Message-Style
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
bin/message_score.pl view on Meta::CPAN
next unless /^From:\s+(.*)$/i;
$from=$1;
last;
}
my $score=Message::Style::score($article);
$scores{$from}||=[];
push @{ $scores{$from} }, $score;
}
sub scorethese {
local(@ARGV)=@_;
my @article;
while(<>) {
chomp;
if(/^From /) {
scorethis(\@article);
undef @article;
} else {
push @article, $_;
}
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.492 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )