Bug 20018

Summary: use Modern::Perl in offline circulation 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 20018: Changing 'use strict; use warnings;' to 'use Modern::Perl;'

Description Aleisha Amohia 2018-01-17 20:09:33 UTC
use Modern::Perl should be used instead of use strict; use warnings;

Relevant in:
enqueue_koc.pl
list.pl
process.pl
process_koc.pl
service.pl
Comment 1 Zoe Bennett 2018-01-18 03:34:49 UTC
Created attachment 70674 [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

enqueue_koc.pl
list.pl
process.pl
process_koc.pl
service.pl
Comment 2 Jon Knight 2018-01-24 18:52:49 UTC
Created attachment 70901 [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

enqueue_koc.pl
list.pl
process.pl
process_koc.pl
service.pl

https://bugs.koha-community.org/show_bug.cgi?id=20018
Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>
Comment 3 Katrin Fischer 2018-02-04 13:11:37 UTC
Created attachment 71181 [details] [review]
Bug 20018: 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

enqueue_koc.pl
list.pl
process.pl
process_koc.pl
service.pl

https://bugs.koha-community.org/show_bug.cgi?id=20018
Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Katrin Fischer 2018-02-04 13:16:18 UTC
Good job! Please always be careful to write the right bug number in the commit message as this will be used to generate the release notes. Fixed it here.
Comment 5 Jonathan Druart 2018-02-05 13:00:11 UTC
Pushed to master for 18.05, thanks to everybody involved!
Comment 6 Nick Clemens 2018-02-16 01:01:11 UTC
Awesome work all! Enhancement not backported to stable.