summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorJesse Vincent <jesse@bestpractical.com>2009-10-02 03:43:58 +0900
committerJesse Vincent <jesse@bestpractical.com>2009-10-02 03:43:58 +0900
commitd13df5d77ce275e62b0fb02836cfbf1eb7d6ce68 (patch)
tree8a06b27fe5bbaa6bd167e69cbb3fd42a67778040 /Porting
parent36512bd8db85eeea6f683296e5f830f6ffb32116 (diff)
downloadperl-d13df5d77ce275e62b0fb02836cfbf1eb7d6ce68.tar.gz
make corecpan.pl output a bit more readable
Diffstat (limited to 'Porting')
-rw-r--r--Porting/corecpan.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/Porting/corecpan.pl b/Porting/corecpan.pl
index 647696b294..0a6086c809 100644
--- a/Porting/corecpan.pl
+++ b/Porting/corecpan.pl
@@ -155,11 +155,12 @@ if ($opt_t) {
}
else {
for my $dist (sort { lc $a cmp lc $b } keys %results) {
- print "Module $dist...\n";
+ my $distname_printed = 0;
for my $file (sort keys %{$results{$dist}}) {
my ($vcore, $vcpan) = @{$results{$dist}{$file}}{@labels};
if (our $opt_v or $vcore ne $vcpan) {
- print " $file: core=$vcore, cpan=$vcpan\n";
+ print "\n$dist:\n" unless ($distname_printed++);
+ print "\t$file: core=$vcore, cpan=$vcpan\n";
}
}
}