From 39afdc5aa55747b1a9225da0c4c89a1bd0c8489b Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Thu, 8 Sep 2011 15:41:20 +0100 Subject: [PATCH] Update Module-Load-Conditional to CPAN version 0.46 [DELTA] Changes for 0.46 Wed Sep 7 23:57:03 BST 2011 ================================================= * Use || instead of "or" (perl#78708) (chorny) --- Porting/Maintainers.pl | 2 +- cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm | 4 ++-- pod/perldelta.pod | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index f903bc3..d60f719 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -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', }, diff --git a/cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm b/cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm index be8984e..39dccf1 100644 --- a/cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm +++ b/cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm @@ -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/; diff --git a/pod/perldelta.pod b/pod/perldelta.pod index c9a8c0e..34fb2db 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -187,6 +187,10 @@ L has been upgraded from version 1.000005_01 to version 1.0000 =item * +L has been upgraded from version 0.44 to version 0.46. + +=item * + L 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 -- 2.7.4