summaryrefslogtreecommitdiff
path: root/cpan/Module-Build/lib/Module/Build/Base.pm
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2012-08-09 13:41:46 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2012-08-09 13:41:46 +0100
commit1ce5ed3e6aacffd3fcef4a8782ab6818ea7b15db (patch)
tree9de77e78da102175c9cd111175a53faae26c98e6 /cpan/Module-Build/lib/Module/Build/Base.pm
parent84678a67ca259ccbce00ff78d3f1e977efab9dcc (diff)
downloadperl-1ce5ed3e6aacffd3fcef4a8782ab6818ea7b15db.tar.gz
Upgrade Module-Build to 0.4002
Diffstat (limited to 'cpan/Module-Build/lib/Module/Build/Base.pm')
-rw-r--r--cpan/Module-Build/lib/Module/Build/Base.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpan/Module-Build/lib/Module/Build/Base.pm b/cpan/Module-Build/lib/Module/Build/Base.pm
index 795ed91385..468944727a 100644
--- a/cpan/Module-Build/lib/Module/Build/Base.pm
+++ b/cpan/Module-Build/lib/Module/Build/Base.pm
@@ -4,9 +4,11 @@ package Module::Build::Base;
use strict;
use vars qw($VERSION);
-$VERSION = '0.40';
+use warnings;
+
+$VERSION = '0.4002';
$VERSION = eval $VERSION;
-BEGIN { require 5.00503 }
+BEGIN { require 5.006001 }
use Carp;
use Cwd ();
@@ -1640,6 +1642,7 @@ sub perl_version_to_float {
sub _parse_conditions {
my ($self, $spec) = @_;
+ return ">= 0" if not defined $spec;
if ($spec =~ /^\s*([\w.]+)\s*$/) { # A plain number, maybe with dots, letters, and underscores
return (">= $spec");
} else {