]> git.koha-community.org Git - koha.git/commit
Bug 16635: t/00-load.t warning from C4/Barcodes/hbyymmincr.pm
authorMark Tompsett <mtompset@hotmail.com>
Thu, 2 Jun 2016 00:41:27 +0000 (20:41 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 16 Jun 2016 10:01:49 +0000 (12:01 +0200)
commit8a5e451e7f3c8e982fc5372b7f3224052ff3726b
tree6b42869a9e6a5fabc2ed0a5db420d25a39472c69
parent4f8e1dc5d89dfc5ec60bc722cb092ea7a831acbc
Bug 16635: t/00-load.t warning from C4/Barcodes/hbyymmincr.pm

According to http://perldoc.perl.org/vars.html, "our" should
be a reasonable substitute for the "use vars". By declaring as
"our", and removing the INIT, prove t/00-load will no longer
generate a warning about INIT for the C4/Barcodes/hbyymmincr.pm
module.

TEST PLAN
---------
1) prove t/00-load.t
   -- warnings about INIT for hbyymmincr
2) prove `git grep -l hbyymmincr | grep [.]t$`
   -- should all run okay
3) apply patch
4) repeat steps 1 and 2
   -- warning should be gone, and everything else run okay
5) run koha qa test tools

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit fd152d9e95a2236a00f3cb0284bdd2aa7cca6da2)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 7fbfa01f78c79daf434a351d165d22382f13fd94)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Barcodes/hbyymmincr.pm