summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xchecksetup.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 5f7ca5326..9f22ae1f5 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -132,8 +132,8 @@ if ($ARGV[0]) {
#
print "\nChecking perl modules ...\n" unless $silent;
-unless (eval "require 5.005") {
- die "Sorry, you need at least Perl 5.005\n";
+unless ($] >= 5.006) {
+ die "Sorry, you need at least Perl 5.6\n";
}
# vers_cmp is adapted from Sort::Versions 1.3 1996/07/11 13:37:00 kjahds,