diff options
author | Jesse Vincent <jesse@bestpractical.com> | 2009-10-02 03:43:58 +0900 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2009-10-02 03:43:58 +0900 |
commit | d13df5d77ce275e62b0fb02836cfbf1eb7d6ce68 (patch) | |
tree | 8a06b27fe5bbaa6bd167e69cbb3fd42a67778040 /Porting | |
parent | 36512bd8db85eeea6f683296e5f830f6ffb32116 (diff) | |
download | perl-d13df5d77ce275e62b0fb02836cfbf1eb7d6ce68.tar.gz |
make corecpan.pl output a bit more readable
Diffstat (limited to 'Porting')
-rw-r--r-- | Porting/corecpan.pl | 5 |
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"; } } } |