]> git.koha-community.org Git - koha.git/commit
Bug 5448: Refactor Boolean.pm
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 26 Nov 2010 16:31:35 +0000 (16:31 +0000)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 1 Dec 2010 21:54:52 +0000 (16:54 -0500)
commitae0387e21ef9e087def432616701b18c8adbb921
tree36589f784af1eae0b8fa2329bac1086b54144366
parentc99ce7f3fdd12ad46329484ddf5d51e775d05e75
Bug 5448: Refactor Boolean.pm

Remove unnecesssary export
Use Exporter according to best practices
Use Carp not warn so we know where the error string came from
Don't create warnings manipulating undefined input
Replace package variables by lexicals

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f08b33a9122aa908bb49a513b0ccd29c3c2b7562)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Boolean.pm