This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update CPANPLUS to CPAN version 0.9109
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Mon, 25 Jul 2011 11:59:38 +0000 (12:59 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Mon, 25 Jul 2011 11:59:38 +0000 (12:59 +0100)
  [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

Porting/Maintainers.pl
cpan/CPANPLUS/lib/CPANPLUS.pm
cpan/CPANPLUS/lib/CPANPLUS/Internals.pm
cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm
pod/perldelta.pod

index a78fed0..7599423 100755 (executable)
@@ -459,7 +459,7 @@ use File::Glob qw(:case);
     'CPANPLUS' =>
        {
        'MAINTAINER'    => 'kane',
-       'DISTRIBUTION'  => 'BINGOS/CPANPLUS-0.9108.tar.gz',
+       'DISTRIBUTION'  => 'BINGOS/CPANPLUS-0.9109.tar.gz',
        'FILES'         => q[cpan/CPANPLUS],
        'EXCLUDED'      => [ qr{^inc/},
                             qr{^t/dummy-.*\.hidden$},
index c51a2aa..d4ab5f2 100644 (file)
@@ -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:
index e3bb465..e1d2f7a 100644 (file)
@@ -42,7 +42,7 @@ use vars qw[@ISA $VERSION];
             CPANPLUS::Internals::Report
         ];
 
-$VERSION = "0.9108";
+$VERSION = "0.9109";
 
 =pod
 
index bf475c9..ba7c00a 100644 (file)
@@ -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';
 }
 
index f1a4b6f..9c3c4a8 100644 (file)
@@ -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;
index 2b98f60..db95e6f 100644 (file)
@@ -96,6 +96,12 @@ XXX
 
 =item *
 
+L<CPANPLUS> has been upgraded from version 0.9108 to version 0.9109
+
+Fixed support for v-strings and x.y.z versions with v5.8.4
+
+=item *
+
 L<ExtUtils::Install> has been upgraded from version 1.56 to version 1.57.
 
 There is no change to ExtUtils::Install other than the version number