Skip to content

Commit

Permalink
fix --exclude-core
Browse files Browse the repository at this point in the history
  • Loading branch information
sharl committed Oct 22, 2012
1 parent f955190 commit 542e8c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/cpan-outdated
Expand Up @@ -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;
Expand Down

0 comments on commit 542e8c2

Please sign in to comment.