diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2011-07-25 12:59:38 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2011-07-25 12:59:38 +0100 |
commit | 1ba7a2fbd6d5e96e32cbe7fec619ad8159cc1a54 (patch) | |
tree | 87677dc24f87f5002a8da7c3b6dc6439a531a1e4 /cpan/CPANPLUS | |
parent | 344c1cf28158104009413cff3adfad9580fff885 (diff) | |
download | perl-1ba7a2fbd6d5e96e32cbe7fec619ad8159cc1a54.tar.gz |
Update CPANPLUS to CPAN version 0.9109
[DELTA]
Changes for 0.9109 Tue Jul 19 22:44:53 2011
================================================
* Fix support for v-strings and x.y.z versions with v5.8.4
Diffstat (limited to 'cpan/CPANPLUS')
-rw-r--r-- | cpan/CPANPLUS/lib/CPANPLUS.pm | 2 | ||||
-rw-r--r-- | cpan/CPANPLUS/lib/CPANPLUS/Internals.pm | 2 | ||||
-rw-r--r-- | cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | 4 | ||||
-rw-r--r-- | cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/cpan/CPANPLUS/lib/CPANPLUS.pm b/cpan/CPANPLUS/lib/CPANPLUS.pm index c51a2aa9f1..d4ab5f2ec7 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.9108"; #have to hardcode or cpan.org gets unhappy + $VERSION = "0.9109"; #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 e3bb465d8e..e1d2f7a3ff 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.9108"; +$VERSION = "0.9109"; =pod diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm index bf475c9a71..ba7c00a336 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm @@ -201,7 +201,9 @@ sub _version_to_number { check( $tmpl, \%hash ) or return; return $version if $version =~ /^\d*(?:\.\d+)?$/; - return eval { version->parse($1)->numify } if $version =~ /^(v?\d+(?:\.\d+(?:\.\d+)?)?)/; + if ( my ($vers) = $version =~ /^(v?\d+(?:\.\d+(?:\.\d+)?)?)/ ) { + return eval { version->parse($vers)->numify }; + } return '0.0'; } diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm index f1a4b6f3ff..9c3c4a8e6d 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.9108"; + $VERSION = "0.9109"; } load CPANPLUS::Shell; |