From: Steve Peters Date: Tue, 5 Dec 2006 21:00:38 +0000 (+0000) Subject: Silence a warning from Module::CoreList that occurs when the module version is X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=482096f125c7b414421b33a75e090d36897a5f3e;p=p5sagit%2Fp5-mst-13.2.git Silence a warning from Module::CoreList that occurs when the module version is something like X.XX_XX. p4raw-id: //depot/perl@29471 --- diff --git a/lib/Module/CoreList.pm b/lib/Module/CoreList.pm index add89ff..f6c69b0 100644 --- a/lib/Module/CoreList.pm +++ b/lib/Module/CoreList.pm @@ -1,7 +1,7 @@ package Module::CoreList; use strict; use vars qw/$VERSION %released %patchlevel %version %families/; -$VERSION = '2.09'; +$VERSION = '2.09_01'; =head1 NAME @@ -97,7 +97,7 @@ sub first_release { my @perls = $version ? grep { exists $version{$_}{ $module } && - $version{$_}{ $module } >= $version } keys %version + $version{$_}{ $module } ge $version } keys %version : grep { exists $version{$_}{ $module } } keys %version; return unless @perls;