From 3895566b53bad68db68bd57654b31119d9864593 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 25 Aug 2007 10:36:20 +0000 Subject: Add 'require 5.8.0' to the very top of every module to make the failure message when you run an ancient perl a bit more descriptive. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7820 e03df62e-2008-0410-955e-edbf42e46eb7 --- make/configure.pm | 3 +++ make/gnutlscert.pm | 2 ++ make/opensslcert.pm | 2 ++ make/utilities.pm | 4 +++- 4 files changed, 10 insertions(+), 1 deletion(-) (limited to 'make') diff --git a/make/configure.pm b/make/configure.pm index 448ad90da..cf12c900a 100644 --- a/make/configure.pm +++ b/make/configure.pm @@ -11,6 +11,9 @@ # --------------------------------------------------- package make::configure; + +require 5.8.0; + use Exporter 'import'; use POSIX; use make::utilities; diff --git a/make/gnutlscert.pm b/make/gnutlscert.pm index 902555fce..77328e233 100644 --- a/make/gnutlscert.pm +++ b/make/gnutlscert.pm @@ -1,5 +1,7 @@ package make::gnutlscert; +require 5.8.0; + use Exporter 'import'; use make::configure; @EXPORT = qw(make_gnutls_cert); diff --git a/make/opensslcert.pm b/make/opensslcert.pm index a4954e0be..327b80378 100644 --- a/make/opensslcert.pm +++ b/make/opensslcert.pm @@ -1,5 +1,7 @@ package make::opensslcert; +require 5.8.0; + use Exporter 'import'; use make::configure; @EXPORT = qw(make_openssl_cert); diff --git a/make/utilities.pm b/make/utilities.pm index 647209f58..792fd035b 100644 --- a/make/utilities.pm +++ b/make/utilities.pm @@ -10,8 +10,10 @@ # # --------------------------------------------------- - package make::utilities; + +require 5.8.0; + use Exporter 'import'; use POSIX; use Getopt::Long; -- cgit v1.2.3