Bugzilla – Attachment 70669 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: Changing 'use strict; use warnings;' to 'use Modern::Perl;'
Bug-20011-Changing-use-strict-use-warnings-to-use-.patch (text/plain), 2.14 KB, created by
Zoe Bennett
on 2018-01-18 03:17:44 UTC
(
hide
)
Description:
Bug 20011: Changing 'use strict; use warnings;' to 'use Modern::Perl;'
Filename:
MIME Type:
Creator:
Zoe Bennett
Created:
2018-01-18 03:17:44 UTC
Size:
2.14 KB
patch
obsolete
>From f6992f6ffac718245c69d3a9e812166b20231e4d 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: Changing 'use strict; use warnings;' to 'use > Modern::Perl;' > >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 >--- > 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 5efd9bd..a7d4ce0 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 d965e12..16138e8 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 8a2ac26..06fcea5 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 86c7c36..da265de 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.1.4
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