Commit 8de64c70 authored by mkanat%kerio.com's avatar mkanat%kerio.com

Bug 314470: Require Perl 5.8

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=justdave
parent 2ba411e9
...@@ -130,7 +130,7 @@ BEGIN { ...@@ -130,7 +130,7 @@ BEGIN {
if ($^O =~ /MSWin32/i) { if ($^O =~ /MSWin32/i) {
require 5.008001; # for CGI 2.93 or higher require 5.008001; # for CGI 2.93 or higher
} }
require 5.006_001; require 5.008;
use File::Basename; use File::Basename;
chdir dirname($0); chdir dirname($0);
} }
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<!-- For minimum versions --> <!-- For minimum versions -->
<!ENTITY min-mysql-ver "4.0.14"> <!ENTITY min-mysql-ver "4.0.14">
<!ENTITY min-pg-ver "7.3.x"> <!ENTITY min-pg-ver "7.3.x">
<!ENTITY min-perl-ver "5.6.1"> <!ENTITY min-perl-ver "5.8.0">
<!ENTITY min-perl-ver-win "5.8.1"> <!ENTITY min-perl-ver-win "5.8.1">
<!ENTITY min-template-ver "2.08"> <!ENTITY min-template-ver "2.08">
<!ENTITY min-file-temp-ver "any"> <!ENTITY min-file-temp-ver "any">
......
...@@ -36,11 +36,11 @@ use Test::More tests => scalar(@Support::Files::testitems); ...@@ -36,11 +36,11 @@ use Test::More tests => scalar(@Support::Files::testitems);
use DBI; use DBI;
my @DBI_drivers = DBI->available_drivers; my @DBI_drivers = DBI->available_drivers;
# Bugzilla requires Perl 5.6.1 now. Checksetup will tell you this if you run it, but # Bugzilla requires Perl 5.8.0 now. Checksetup will tell you this if you run it, but
# it tests it in a polite/passive way that won't make it fail at compile time. We'll # it tests it in a polite/passive way that won't make it fail at compile time. We'll
# slip in a compile-time failure if it's missing here so a tinderbox on 5.00503 won't # slip in a compile-time failure if it's missing here so a tinderbox on < 5.8 won't
# pass and mistakenly let people think Bugzilla works on 5.00503 # pass and mistakenly let people think Bugzilla works on any perl below 5.8.
require 5.006_001; require 5.008;
# Capture the TESTOUT from Test::More or Test::Builder for printing errors. # Capture the TESTOUT from Test::More or Test::Builder for printing errors.
# This will handle verbosity for us automatically. # This will handle verbosity for us automatically.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment