From: Ricardo Signes Date: Sun, 14 Mar 2010 16:35:23 +0000 (-0400) Subject: better perl version output in corelist-diff X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=af23cf166818c49709cd7a912b616557b93c8ea1;p=p5sagit%2Fp5-mst-13.2.git better perl version output in corelist-diff --- diff --git a/Porting/corelist-diff b/Porting/corelist-diff index 72bb1b0..7563171 100644 --- a/Porting/corelist-diff +++ b/Porting/corelist-diff @@ -6,13 +6,13 @@ use List::MoreUtils qw(uniq); use Module::CoreList; use Text::Table; -my $old_ver = 5.010000; -my $new_ver = 5.011005; +my $old_ver = "5.010000"; +my $new_ver = "5.011005"; my $old = $Module::CoreList::version{ $old_ver }; my $new = $Module::CoreList::version{ $new_ver }; -my $table = Text::Table->new('library', \' | ', $old_ver, \' | ', $new_ver); +my $table = Text::Table->new('perl', \' | ', $old_ver, \' | ', $new_ver); for my $lib (uniq sort (keys %$old, keys %$new)) { my $old = exists $old->{ $lib } ? $old->{ $lib } // '(undef)' : '(absent)';