Bugzilla – Attachment 71188 Details for
Bug 20011
use Modern::Perl in plugins perl scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20011: use Modern::Perl in plugins perl scripts
Bug-20011-use-ModernPerl-in-plugins-perl-scripts.patch (text/plain), 2.25 KB, created by
Katrin Fischer
on 2018-02-04 13:31:42 UTC
(
hide
)
Description:
Bug 20011: use Modern::Perl in plugins perl scripts
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-02-04 13:31:42 UTC
Size:
2.25 KB
patch
obsolete
>From 2fc3ffdc030a853de9e6eff0ab685ff9517a9a38 Mon Sep 17 00:00:00 2001 >From: Zoe Bennett <zoebennett1308@gmail.com> >Date: Thu, 18 Jan 2018 03:13:55 +0000 >Subject: [PATCH] Bug 20011: use Modern::Perl in plugins perl scripts > >Test Plan: >- Check that it now says 'use Modern::Perl' and not 'use trict; use >warnings;' in the follwing plugins perl scripts > >plugins-home.pl >plugins-uninstall.pl >plugins-upload.pl >run.pl > >Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > plugins/plugins-home.pl | 3 +-- > plugins/plugins-uninstall.pl | 3 +-- > plugins/plugins-upload.pl | 3 +-- > plugins/run.pl | 3 +-- > 4 files changed, 4 insertions(+), 8 deletions(-) > >diff --git a/plugins/plugins-home.pl b/plugins/plugins-home.pl >index 5efd9bd94c..a7d4ce00dc 100755 >--- a/plugins/plugins-home.pl >+++ b/plugins/plugins-home.pl >@@ -17,8 +17,7 @@ > # You should have received a copy of the GNU General Public License > # along with Koha; if not, see <http://www.gnu.org/licenses>. > >-use strict; >-use warnings; >+use Modern::Perl; > > use CGI qw ( -utf8 ); > >diff --git a/plugins/plugins-uninstall.pl b/plugins/plugins-uninstall.pl >index d965e1233a..16138e8288 100755 >--- a/plugins/plugins-uninstall.pl >+++ b/plugins/plugins-uninstall.pl >@@ -15,8 +15,7 @@ > # You should have received a copy of the GNU General Public License > # along with Koha; if not, see <http://www.gnu.org/licenses>. > >-use strict; >-use warnings; >+use Modern::Perl; > > use Archive::Extract; > use File::Temp; >diff --git a/plugins/plugins-upload.pl b/plugins/plugins-upload.pl >index 8a2ac26934..06fcea571e 100755 >--- a/plugins/plugins-upload.pl >+++ b/plugins/plugins-upload.pl >@@ -16,8 +16,7 @@ > # You should have received a copy of the GNU General Public License > # along with Koha; if not, see <http://www.gnu.org/licenses>. > >-use strict; >-use warnings; >+use Modern::Perl; > > use Archive::Extract; > use File::Temp; >diff --git a/plugins/run.pl b/plugins/run.pl >index 86c7c360aa..da265de1fd 100755 >--- a/plugins/run.pl >+++ b/plugins/run.pl >@@ -17,8 +17,7 @@ > # You should have received a copy of the GNU General Public License > # along with Koha; if not, see <http://www.gnu.org/licenses>. > >-use strict; >-use warnings; >+use Modern::Perl; > > use CGI qw ( -utf8 ); > >-- >2.14.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20011
:
70669
|
70889
|
70890
| 71188