]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 173495 - require perl 5.6
authorbbaetz%student.usyd.edu.au <>
Thu, 17 Oct 2002 19:49:44 +0000 (19:49 +0000)
committerbbaetz%student.usyd.edu.au <>
Thu, 17 Oct 2002 19:49:44 +0000 (19:49 +0000)
checksetup.pl

index 5f7ca5326c5871e70b3aa61576344470aa3c7b57..9f22ae1f5deb3c508e972331ffd4aa2c0b4be825 100755 (executable)
@@ -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,