This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Module-Load-Conditional to CPAN version 0.46
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Thu, 8 Sep 2011 14:41:20 +0000 (15:41 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Thu, 8 Sep 2011 15:44:17 +0000 (16:44 +0100)
  [DELTA]

  Changes for 0.46    Wed Sep  7 23:57:03 BST 2011
  =================================================
  * Use || instead of "or" (perl#78708) (chorny)

Porting/Maintainers.pl
cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm
pod/perldelta.pod

index f903bc3..d60f719 100755 (executable)
@@ -1274,7 +1274,7 @@ use File::Glob qw(:case);
     'Module::Load::Conditional' =>
        {
        'MAINTAINER'    => 'kane',
-       'DISTRIBUTION'  => 'BINGOS/Module-Load-Conditional-0.44.tar.gz',
+       'DISTRIBUTION'  => 'BINGOS/Module-Load-Conditional-0.46.tar.gz',
        'FILES'         => q[cpan/Module-Load-Conditional],
        'UPSTREAM'      => 'cpan',
        },
index be8984e..39dccf1 100644 (file)
@@ -18,7 +18,7 @@ BEGIN {
                         $FIND_VERSION $ERROR $CHECK_INC_HASH];
     use Exporter;
     @ISA            = qw[Exporter];
-    $VERSION        = '0.44';
+    $VERSION        = '0.46';
     $VERBOSE        = 0;
     $DEPRECATED     = 0;
     $FIND_VERSION   = 1;
@@ -332,7 +332,7 @@ sub check_install {
 sub _parse_version {
     my $self    = shift;
     my $str     = shift or return;
-    my $verbose = shift or 0;
+    my $verbose = shift || 0;
 
     ### skip lines which doesn't contain VERSION
     return unless $str =~ /VERSION/;
index c9a8c0e..34fb2db 100644 (file)
@@ -187,6 +187,10 @@ L<Module::Metadata> has been upgraded from version 1.000005_01 to version 1.0000
 
 =item *
 
+L<Module::Load::Conditional> has been upgraded from version 0.44 to version 0.46.
+
+=item *
+
 L<ODBM_File> has been upgraded from version 1.11 to version 1.12.
 
 This is only a minor refactoring of the XS code to bring it closer to the