From 91ad0813c473f7de1fc0aef3b17e7bc03fb67050 Mon Sep 17 00:00:00 2001 From: Matt Selsky Date: Tue, 1 Jan 2013 23:59:13 +0100 Subject: Bug 816870: All extensions must require Perl 5.10.1 to pass tests r/a=LpSolit --- template/en/default/extensions/config.pm.tmpl | 2 ++ template/en/default/extensions/extension.pm.tmpl | 2 ++ template/en/default/extensions/util.pm.tmpl | 2 ++ 3 files changed, 6 insertions(+) (limited to 'template/en/default') diff --git a/template/en/default/extensions/config.pm.tmpl b/template/en/default/extensions/config.pm.tmpl index cb7195767..07ac83a41 100644 --- a/template/en/default/extensions/config.pm.tmpl +++ b/template/en/default/extensions/config.pm.tmpl @@ -13,6 +13,8 @@ [% PROCESS extensions/license.txt.tmpl %] package B[% %]ugzilla::Extension::[% name %]; + +use 5.10.1; use strict; use constant NAME => '[% name %]'; diff --git a/template/en/default/extensions/extension.pm.tmpl b/template/en/default/extensions/extension.pm.tmpl index 993bceb18..ebeb73719 100644 --- a/template/en/default/extensions/extension.pm.tmpl +++ b/template/en/default/extensions/extension.pm.tmpl @@ -13,6 +13,8 @@ [% PROCESS extensions/license.txt.tmpl %] package B[% %]ugzilla::Extension::[% name %]; + +use 5.10.1; use strict; use parent qw(B[% %]ugzilla::Extension); diff --git a/template/en/default/extensions/util.pm.tmpl b/template/en/default/extensions/util.pm.tmpl index c693c8a01..3493007f4 100644 --- a/template/en/default/extensions/util.pm.tmpl +++ b/template/en/default/extensions/util.pm.tmpl @@ -13,6 +13,8 @@ [% PROCESS extensions/license.txt.tmpl %] package B[% %]ugzilla::Extension::[% name %]::Util; + +use 5.10.1; use strict; use parent qw(Exporter); our @EXPORT = qw( -- cgit v1.2.3-24-g4f1b