Bug 20011

Summary: use Modern::Perl in plugins perl scripts
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: Architecture, internals, and plumbingAssignee: Zoe Bennett <zoebennett1308>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer, nick
Version: unspecifiedKeywords: Academy
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 2505    
Attachments: Bug 20011: Changing 'use strict; use warnings;' to 'use Modern::Perl;'
Bug 20011: Changing 'use strict; use warnings;' to 'use Modern::Perl;'
Bug 20011: Changing 'use strict; use warnings;' to 'use Modern::Perl;'
Bug 20011: use Modern::Perl in plugins perl scripts

Description Aleisha Amohia 2018-01-17 19:47:00 UTC
use Modern::Perl should be used instead of use strict; use warnings;

Relevant in:
plugins-home.pl
plugins-uninstall.pl
plugins-upload.pl
run.pl
Comment 1 Zoe Bennett 2018-01-18 03:17:44 UTC
Created attachment 70669 [details] [review]
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
Comment 2 Jon Knight 2018-01-24 18:28:25 UTC
Created attachment 70889 [details] [review]
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
Comment 3 Jon Knight 2018-01-24 18:33:16 UTC
Created attachment 70890 [details] [review]
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

Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>
Comment 4 Katrin Fischer 2018-02-04 13:31:42 UTC
Created attachment 71188 [details] [review]
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>
Comment 5 Jonathan Druart 2018-02-05 12:59:33 UTC
Pushed to master for 18.05, thanks to everybody involved!
Comment 6 Nick Clemens 2018-02-16 00:59:22 UTC
Awesome work all! Enhancement not backported to stable.