summaryrefslogtreecommitdiff
path: root/cpan/CPANPLUS
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2012-03-17 23:50:17 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2012-03-17 23:50:17 +0000
commit7ab791555672f50a01181f675c399d278879e60e (patch)
tree70d8a8f479bae260361a91f13c0d4289d0ab2565 /cpan/CPANPLUS
parent95670bde8957add23fdad6b1c9da76ef317f788f (diff)
downloadperl-7ab791555672f50a01181f675c399d278879e60e.tar.gz
Update CPANPLUS to CPAN version 0.9121
This resolves a regression introduced with v0.9109 which was included with perl version v5.15.2 and is therefore a regression since v5.14.x [DELTA] Changes for 0.9121 Sat Mar 17 23:23:42 2012 ================================================ * Resolved a regression with dev '_' version numbers since 0.9109
Diffstat (limited to 'cpan/CPANPLUS')
-rw-r--r--cpan/CPANPLUS/lib/CPANPLUS.pm2
-rw-r--r--cpan/CPANPLUS/lib/CPANPLUS/Internals.pm2
-rw-r--r--cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm1
-rw-r--r--cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm2
4 files changed, 4 insertions, 3 deletions
diff --git a/cpan/CPANPLUS/lib/CPANPLUS.pm b/cpan/CPANPLUS/lib/CPANPLUS.pm
index 5297487e61..e1fc6ef8ad 100644
--- a/cpan/CPANPLUS/lib/CPANPLUS.pm
+++ b/cpan/CPANPLUS/lib/CPANPLUS.pm
@@ -13,7 +13,7 @@ BEGIN {
use vars qw( @EXPORT @ISA $VERSION );
@EXPORT = qw( shell fetch get install );
@ISA = qw( Exporter );
- $VERSION = "0.9120"; #have to hardcode or cpan.org gets unhappy
+ $VERSION = "0.9121"; #have to hardcode or cpan.org gets unhappy
}
### purely for backward compatibility, so we can call it from the commandline:
diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals.pm
index 3dde367bda..e9f97bfa2a 100644
--- a/cpan/CPANPLUS/lib/CPANPLUS/Internals.pm
+++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals.pm
@@ -42,7 +42,7 @@ use vars qw[@ISA $VERSION];
CPANPLUS::Internals::Report
];
-$VERSION = "0.9120";
+$VERSION = "0.9121";
=pod
diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
index afd4725798..e9651ed45f 100644
--- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
+++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
@@ -200,6 +200,7 @@ sub _version_to_number {
check( $tmpl, \%hash ) or return;
+ $version =~ s!_!!g; # *sigh*
return $version if $version =~ /^\d*(?:\.\d+)?$/;
if ( my ($vers) = $version =~ /^(v?\d+(?:\.\d+(?:\.\d+)?)?)/ ) {
return eval { version->parse($vers)->numify };
diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm
index 04e9775341..56dce061ae 100644
--- a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm
+++ b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm
@@ -26,7 +26,7 @@ local $Data::Dumper::Indent = 1; # for dumpering from !
BEGIN {
use vars qw[ $VERSION @ISA ];
@ISA = qw[ CPANPLUS::Shell::_Base::ReadLine ];
- $VERSION = "0.9120";
+ $VERSION = "0.9121";
}
load CPANPLUS::Shell;