Permalink
Browse files

fix --exclude-core

  • Loading branch information...
1 parent f955190 commit 542e8c296fc59c28d8e98aae7a65b3cf67cb12d1 @sharl sharl committed Oct 22, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/cpan-outdated
View
@@ -42,8 +42,7 @@ pod2usage() if $help;
$mirror =~ s:/$::;
my $index_url = "${mirror}/modules/02packages.details.txt.gz";
-my $perl_version = sprintf '%d.%03d%03d', (map {ord} split('', $^V));
-my $core_modules = $Module::CoreList::version{$perl_version};
+my $core_modules = $Module::CoreList::version{$]};
unless ($ENV{HARNESS_ACTIVE}) {
&main;

0 comments on commit 542e8c2

Please sign in to comment.