diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-25 10:36:20 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-25 10:36:20 +0000 |
commit | 3895566b53bad68db68bd57654b31119d9864593 (patch) | |
tree | 05d85435ca130e556e2ada26b3f10c3c986ad9a9 | |
parent | 46d3b250ba3a3f20d6e61ea58cabe3129f3a9c31 (diff) |
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
-rw-r--r-- | make/configure.pm | 3 | ||||
-rw-r--r-- | make/gnutlscert.pm | 2 | ||||
-rw-r--r-- | make/opensslcert.pm | 2 | ||||
-rw-r--r-- | make/utilities.pm | 4 |
4 files changed, 10 insertions, 1 deletions
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; |