Subject: | Module::Install::Admin::Scandeps broken for Perl 5.010 |
$Error_Message = <<'ERROR'
Module::CoreList has no information on perl 5.010 at /usr/lib/perl5/
site_perl/5.10.1/Module/Install/Admin/ScanDeps.pm line 25.
ERROR
Module::CoreList does include information for 5.010000, but not 5.010.
Fix attached - should also work for 5.012, 5.014, etc.
Subject: | scandeps-5010.diff |
--- /usr/lib/perl5/site_perl/5.10.1/Module/Install/Admin/ScanDeps.OLD 2011-10-10 10:20:32.129328999 +0100
+++ /usr/lib/perl5/site_perl/5.10.1/Module/Install/Admin/ScanDeps.pm 2011-10-10 10:22:34.858337064 +0100
@@ -22,6 +22,11 @@
require Module::ScanDeps;
require Module::CoreList;
+ if (!exists $Module::CoreList::version{$perl_version}
+ and exists $Module::CoreList::version{$perl_version.'000'}) {
+ $perl_version .= '000';
+ }
+
die "Module::CoreList has no information on perl $perl_version"
unless exists $Module::CoreList::version{$perl_version};